renatoathaydes / osgi-run

Osgi-Run - A Gradle plugin to make the development of modular applications using OSGi completely painless
Apache License 2.0
54 stars 13 forks source link

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

Open paulvi opened 8 years ago

paulvi commented 8 years ago

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 https://github.com/TomDmitriev/gradle-bundle-plugin/issues/54 , https://issues.gradle.org/browse/GRADLE-1107 "OSGi instruction Include-Resource not working"

renatoathaydes commented 8 years ago

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 commented 8 years ago

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

renatoathaydes commented 8 years ago

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

paulvi commented 8 years ago

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 commented 8 years ago

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