Looking at the config.ini generated by Eclipse PDE to launch Equinox
with some bundles from the Eclipse workspace, there are bundle URLs of
the form
reference:file:/home/hwellmann/work/myapp/plugins/myplugin
corresponding to the root folder of each bundle project from the workspace.
The only semi-official documentation I could find about this is here:
http://dz.prosyst.com/pdoc/mbs_prof_6.1/um/framework/equinox_features.html#reference
I tried to install a bundle from an URL of this kind manually from the
Equinox console, which caused some exceptions when starting the bundle,
but I guess this is due to the fact that the console command does not
generate the InputStream parameter for BundleContext.installBundle()
If Pax uses this API, then maybe the solution is not so hard...
Best regards,
Harald
Am 26.07.2011 23:57, schrieb Toni Menzel:
Its currently not directly supported (if normal "urls" do not work).
What you can try is using the "url()" option and passing a equinox string into
it,
so like you say:
url("bundle:/path/to/workspace/project/bin")
but i'm pretty sure something in Exam will check this and probably not
"understand".
If equinox has this feature, it should be pretty simple to implement as its
just about leaving the url identifier untouched as much as possible and pass it
over to the osgi framework.
I hope to have a look at it and either directly do it or at least give pointers.
What would help definitely is a specific example that is known to work with
equinox.
Thanks for suggesting this one!
Toni
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general