This seems a bug. I opened a Jira issue http://jira.codehaus.org/browse/MECLIPSE-385, attached a patch and an updated test case. One issue may be the way I fixed it: I fixed a method getNormalizedVersion in EclipseOSGiManifestWriter, but that class is marked "deprecated" - so it may need to be fixed elsewhere.

-Marshall

Marshall Schor wrote:
We have a maven <version> for our incubating project which looks like:

2.3.0.incubating-SNAPSHOT

The dot before incubating is there to make the format fit the Eclipse syntax of major.minor.micro.qualifier

When eclipse:eclipse updates the MANIFEST.MF, it changes this version to:

2.3.0.incubating.SNAPSHOT

This causes Eclipse 3.3 to complain that the format (which now contains 5 sections, separated by periods) is invalid.

Can I set some configuration parameter to get eclipse:eclipse to not change the last "-" before SNAPSHOT to a period?

-Marshall Schor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to