Difference between an OSGi bundle as jar/directory [message #121304] |
Wed, 19 November 2008 16:01 |
Eclipse User |
|
|
|
Hi,
I have a question regarding the difference between deploying an OSGi
bundle as a jar and as a directory.
I have some OSGi bundles in a directory. In eclipse I change the "Target
Platform" to compile and run against this directory location (equinox
bundles are available there as well). The problem I am running into is
that if I supply my bundles as directories I will received compile errors
in my eclipse. The bundles are found but the exported packages can't be
discovered. If I jar my bundles (exactly same
structure/manifest/resources) and replace the directory bundles with those
everything is working fine.
Anybody got a hint for me?
Cheers
Philipp
PS: Some of the bundles need to be deployed as directories, so I can't
stick with the solution to jar everything up :-)
|
|
|
|
|
|
Re: Difference between an OSGi bundle as jar/directory [message #121412 is a reply to message #121405] |
Fri, 21 November 2008 14:43 |
Eclipse User |
|
|
|
Hi,
It doesn't show up in the dependencies section. Since I am using those
bundles as "Target Platform" is there a way to start eclipse with an
OSGI-console? Maybe this would reveal something (unresolved dependencies
within the Target Platform).
I don't think this is a bug (I rather think this is an error on my side
:-)). Funny thing is that I have some bundles which work as a directory
and some won't.
Cheers
Philipp
|
|
|
|
Powered by
FUDForum. Page generated in 0.03486 seconds