adding class path to plugin


Can we add class path dynamically to the plugin while installing the plugin. I use libraries that are present in the client system to run some targets in the plug in when a menu item is clicked.

1 comment
Comment actions Permalink

You can construct a ClassLoader yourself with any classpath that you like and use it to execute your code. See the LoaderFactory class in the IntelliJ IDEA Community Edition source code for an example implementation.


Please sign in to leave a comment.