adding class path to plugin

Hi,

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.

0

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.

0

请先登录再写评论。