Hi Christian,
Please see my comments in the mail.
Christian Schneider wrote:
Hi all,
I have succeeded for most camel jars to have a source attachment in
eclipse pde mode now. The component camel-spring-osgi produces an empty
source jar though.
The problem seems to be that the component simply reexports the jars for
camel-osgi and camel-spring.
Yes, camel-spring-osgi just repacks the camel-osgi and camel-spring.
Any idea how to get the source attachment for this one? I guess this
also is a problem when using maven in osgi.
I don't think there is a easy way to resolve this issue.
Anyway I did not really understand why camel-osi and camel-spring have
to be bundled into one jar. I read that it has to do with the loading
sequence somewhere but can“t this also be solved when the jars are
separate.
You can resolve the loading sequence issue by letting camel-osgi bundle
be loaded first, in this way you still can access camel-osgi and
camel-spring source code as you want :)
Greetings
Christian
Willem