[ImageJ-devel] IJ2 Plugin Service

Jay Warrick warrick at wisc.edu
Sat Apr 26 03:14:44 CDT 2014


Sorry resending this from a registered email.

Hi All,

I use Eclipse and use the eclipse function to export my program as a runnable jar with referenced jars packaged in the application jar. I use the IJ plugin service to discover both IJ plugins of type Command.class as well as my own type called JEXPlugin.class. When I run the application from eclipse, the JEXPlugins are discovered by the ij.plugin() service. However, when I export the application as a runnable jar, ij.plugin()service returns all the Command.class plugins but 0 plugins of type JEXPlugin.class using the call "ij.plugin().getPluginsOfType(JEXPlugin.class);"

Any idea why or how to fix it?

Thanks,

Jay



More information about the ImageJ-devel mailing list