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

How to nest jar's into bundle lib folder? #32

Open
paulvi opened this issue Apr 7, 2016 · 5 comments
Open

How to nest jar's into bundle lib folder? #32

paulvi opened this issue Apr 7, 2016 · 5 comments
Labels

Comments

@paulvi
Copy link
Contributor

paulvi commented Apr 7, 2016

If osgi-run relies on gradle osgi plulgin #31 , then with osgi-run it is likely impossible to make jar with nested jar.

There is gradle-bundle-plugin

that uses the bnd tool to generate not only a manifest but a whole jar.

see TomDmitriev/gradle-bundle-plugin#54 , https://issues.gradle.org/browse/GRADLE-1107 "OSGi instruction Include-Resource not working"

@renatoathaydes
Copy link
Owner

I had the intention of removing the dependency on the osgi plugin because that is not actually needed... any plugin that turns your project's jar into a bundle is enough for osgi-run to work.

I will do that in the coming days.

@renatoathaydes
Copy link
Owner

Please confirm nested jars and other features of the plugin you want to use work with osgi-run version 1.4.3.

@renatoathaydes
Copy link
Owner

See this example that now uses both osgi-run and org.dm.bundle.

@paulvi
Copy link
Contributor Author

paulvi commented Apr 8, 2016

I am OSGi beginner and don't know exactly how to make simple OSGi project with this case to test.
So it may take a while

@renatoathaydes
Copy link
Owner

I suggest choosing an easier project to test this. quartz-sample is a beast.

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

No branches or pull requests

2 participants