Cannot use -SNAPSHOT in OSGi manifest version numbers -----------------------------------------------------
Key: MUSE-192 URL: https://issues.apache.org/jira/browse/MUSE-192 Project: Muse Issue Type: Bug Components: Deployment - OSGi Affects Versions: 2.2.0 Environment: OSGi Reporter: Joel Hawkins Assigned To: Joel Hawkins Priority: Blocker Fix For: 2.2.0 During the development cycle, we move all of our version numbers to blah.blah.blah-SNAPSHOT. This has also been done within the OSGI manifests. Sadly, OSGi (or at least Equinox) will not tolerate a non-numeric version number, and all of our built bundles fail to install with the following: org.osgi.framework.BundleException: For input string: "0-SNAPSHOT" at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:884) at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:739) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:790) at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:734) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:221) at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1067) at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:649) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:305) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173) >From now on, let's just bump the version to the current target, and use the >SNAPSHOT identifier in the IMPLEMENTATION-VENDOR bits, as below Implementation-Vendor: Apache Web Services - Muse Implementation-Title: muse-complete Implementation-Version: 2.2.0-SNAPSHOT Bundle-Name: Apache Muse Bundle-SymbolicName: org.apache.muse.complete Bundle-Version: 2.2.0 I'm setting this to Blocker, because we've got at least 3 eclipse projects depending on Muse 2.2, and I'm working on two of them! :-) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]