Hampel, Michael schrieb:
Hello Stuart,
I have tried it and it's working great - thank you a lot for the fast help,
i agree with that, thanks!
but still there is a problem with dependency resolution. i am using
<Embed-Dependency> set to true, thus for release build Bundle-Classpath
entries and respective jars are included inside bundle. this is working
when using an 'outside' eclipse OSGi container, because i do provide a
complete bundle.
which does not working is starting OSGi bundle inside eclipse. following
generated MANIFEST.MF gets included (only snippet provided):
...
Include-Resource: log4j/log4j-1.2.12.jar=C:\Documents and
Settings\manuel.aldana\.m2\repository\log4j\log4j\1.2.12\log4j-1.2.12.jar
...
with this setting OSGi runtime gives me NoClassDefFoundError (log4j
class), so it seems that Include-Resource statement gets ignored by
eclipse PDE plugin so, how can i tell eclipse PDE to include libraries
as stated in Include-Resource from MANIFEST.MF? or is Include-Resource
the wrong place look for? what other configuration can be used to
connect to eclipse PDE to integrate maven's dependency resolution?
the (hopeful) solution of above problem should be the last bit to make
the bridge between maven and eclipse PDE complete :)
--
manuel aldana
[EMAIL PROTECTED]
homepage: www.aldana-online.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]