Closed tobias-- closed 8 years ago
This is already possible, but you need to explicitly do it, as I did in this commit:
https://github.com/renatoathaydes/osgi-run/commit/a0f8cc990d4613c1d96e4e8ab6ccf6c81d8af49b
Hope this is ok for you.
Using excludedBundles = [ 'osgi.*' ]
works for me. Thanks!
Great! I wanted to make this the default, but I thought this might break some deployments in certain cases (most likely many cases).
Making this explicit lets you control exactly what you want to be in and out of your environment.
I need to add a note on the README page about this.
When using dependencies like osgi core or compendium, they should not be included in the osgi/bundle directory.
For example:
Results in having osgi.cmpn-6.0.0.jar and osgi.core-6.0.0.jar in osgi/bundle. The main output also complains about not being able to start the bundle (and that is perfectly right, in my opinion):