Well, if I read correctly, the header has to be added on the source
bundle, not the bundle containing the classes.
Currently, source jars are always generated by the
maven-source-plugin, so you'd have to find how to modify the
generation of this jar to include the needed headers I suppose.  This
is more a question for the maven users list I guess.

On Wed, May 19, 2010 at 08:45, Christian Schneider
<[email protected]> wrote:
> Hi all,
>
> currently I am using the pde mode in Eclipse to work with osgi bundles. The
> problem is that most source jars are not attached to their binary bundles by
> eclipse.
>
> After long searching I found that a special manifest header is required for
> this to work.
> http://wiki.eclipse.org/PDE/FAQ#How_do_source_attachments_for_bundles_work
>
> I would like to integrate this header in the build of Apache Camel:
> https://issues.apache.org/activemq/browse/CAMEL-2734
>
> Camel uses the maven-bundle-plugin to create the manifest files. Is it
> possible to add the "Eclipse-SourceBundle:" Header using the
> maven-bundle-plugin? If not can this feature be added to the plugin?
>
> Greetings
>
> Christian
>
> --
> ----
> http://www.liquid-reality.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to