Hi Jay

I am somewhat new to the ImageJ2 ecosystem.  So somebody more experienced then 
I am will probably be able to give you a better answer.

That being said here are a couple of things that might help. 

 I've found to get the pluginservice to recognize changes to plugins in a jar 
(name changes, new plugins, etc.) I have to do a complete clean of the project. 

If I need to run outside eclipse I use maven plugins from the command line to 
build things.  I use the dependency plugin to compile all my dependencies in 
the same directory, then add that directory (target/dependency) to the class 
path.

I end up doing something like this.

mvn clean
mvn
mvn dependency:copy-dependencies.

To create an executable jar you might want to look at the maven assembly plugin.

Brian


On Sat, Apr 26, 2014 at 4:14 AM, Jay Warrick <[email protected]> wrote:
> 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
> 
> _______________________________________________
> ImageJ-devel mailing list
> [email protected]
> http://imagej.net/mailman/listinfo/imagej-devel

_______________________________________________
ImageJ-devel mailing list
[email protected]
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to