Anyway to load the library which is added programmly.

I write a small plugin to auto create a library to global library and add several jar files as root class of the new library.

Everything is ok but the classes in the library still can't be found.
In the project view, the new library is empty.

The only way now is I manully re-add the jar files again to the library, and intelliJ will parsing all the classes in jar files.

Is there any api to parsing classes files after create a new library?

1 comment
Comment actions Permalink

you may want to have a look at the mavenreloaded plugin, which creates libraries and adds them to the classpath


Please sign in to leave a comment.