Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support plugins stored inside jar-in-jar uberjars #40

Closed
ctrueden opened this issue Apr 30, 2014 · 2 comments
Closed

Support plugins stored inside jar-in-jar uberjars #40

ctrueden opened this issue Apr 30, 2014 · 2 comments

Comments

@ctrueden
Copy link
Member

The Eclipse IDE supports creation of a "runnable JAR" via its Export menu, which is an uberjar containing dependencies as nested JAR files. It would be useful if, when running ImageJ from one of these uberjars, the SciJava plugin metadata in META-INF/json within each nested JAR could be successfully read, and the resultant PluginInfo objects were able to be successfully instantiated as usual.

@dscho
Copy link
Contributor

dscho commented Apr 30, 2014

I do not believe that we have to do anything to support that; if the ClassLoader supports the getResources() method properly (and it should), it will find the annotation indexes.

I am mildly in favor of closing this until the time we have a concrete counterexample...

@ctrueden
Copy link
Member Author

@dscho: OK, fair enough.

@jaywarrick: If you create an example project which demonstrates the issue, and post it to GitHub, feel free to link it here and reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants