JRuby 1.4.0dev OSGi bundle is not correctly built
-------------------------------------------------
Key: JRUBY-3883
URL: http://jira.codehaus.org/browse/JRUBY-3883
Project: JRuby
Issue Type: Bug
Components: Embedding
Affects Versions: JRuby 1.4
Reporter: Yoko Harada
When I tried to start JRuby 1.4.0dev OSGi bundle on Apache Felix, I got
exceptions. Perhaps, OSGi bundle is not correctly built.
I built the bundle by "ant jar-complete."
{noformat}
Welcome to Felix.
=================
-> start file:///Users/yoko/Works/081709-jruby/jruby~main/lib/jruby-complete.jar
java.lang.NumberFormatException: For input string: "0dev"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.parseInt(Integer.java:497)
at org.osgi.framework.Version.<init>(Version.java:136)
at org.osgi.framework.Version.parseVersion(Version.java:209)
at
org.apache.felix.framework.util.manifestparser.ManifestParser.parseExportHeader(ManifestParser.java:919)
at
org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:140)
at
org.apache.felix.framework.searchpolicy.ModuleImpl.<init>(ModuleImpl.java:155)
at
org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:970)
at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:79)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2123)
at org.apache.felix.framework.Felix.installBundle(Felix.java:2026)
at
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
at
org.apache.felix.shell.impl.InstallCommandImpl.install(InstallCommandImpl.java:104)
at
org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:100)
at
org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
at
org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
at java.lang.Thread.run(Thread.java:613)
java.lang.NumberFormatException: For input string: "0dev"
Bundle ID
file:///Users/yoko/Works/081709-jruby/jruby~main/lib/jruby-complete.jar is
invalid.
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email