We already have this header but I think it could perhaps be done by the bundle plugin automatically.

The Manifest Header looks like:
Eclipse-SourceBundle: org.eclipse.pde.core;version="3.4.0.N20071128-0010";roots:="ant_tasks/pde-antsrc,."
See: http://dev.eclipse.org/mhonarc/lists/eclipse-dev/msg07890.html
and http://wiki.eclipse.org/PDE/FAQ

It just contains the id and version of the implementation bundle So Eclipse can show you the sources when both bundles are in the target platform.

Christian


Am 07.02.2011 11:55, schrieb Guillaume Nodet:
I don't recall anything in the maven bundle plugin about that.  Where
would we point to ? maven central ?
I suppose we could add that header in the root pom, though this would
also require a big of magic to get the full path I think, and that may
also fail for timestamped snapshots ....

On Mon, Feb 7, 2011 at 11:45, Christian Schneider
<[email protected]>  wrote:
Hi Guillaume,

I am just trying a buildd with that version.
Till now it looks good.

Btw. Do you know if the source.jars now also will be generated with the
"<Eclipse-SourceBundle>" manifest entry so you can click them in Eclipse if
you work with a target platform? Or is this not part of the bundle plugin?

Christian


Am 07.02.2011 11:31, schrieb Guillaume Nodet:
The maven-bundle-plugin 2.3.4 has just been released, so we could try
upgrading to that one.

On Mon, Feb 7, 2011 at 10:41, Christian Schneider
<[email protected]>    wrote:
Hi Guillaume,

that´s a typical case of misreading a specification on my side. It´s good
that I now read the spec again to proof you wrong. So I found that I was
wrong ;-)

The spec says.
version ::= major( '.' minor ( '.' micro ( '.' qualifier )? )? )?

I did not really be careful enough to read that qualifier is not meant
literally but rather stands for:
qualifier ::= ( alphanum | ’_’ | '-' )+

So you are right.

2.7-SNAPSHOT in maven should be 2.7.0.SNAPSHOT in osgi.

Christian

Am 07.02.2011 10:11, schrieb Guillaume Nodet:
Not sure what you mean here, but the conversion should be 2.7-SNAPSHOT
->      2.7.0.SNAPSHOT

Christian

--
----
http://www.liquid-reality.de


--
----
http://www.liquid-reality.de



--
----
http://www.liquid-reality.de





--
----
http://www.liquid-reality.de

Reply via email to