You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Jacek Laskowski (JIRA)" <ji...@apache.org> on 2009/10/12 17:23:31 UTC

[jira] Closed: (XBEAN-141) NumberFormatException upon installing the shaded subprojects - asm and finder - into Apache Felix 2.0.0

     [ https://issues.apache.org/jira/browse/XBEAN-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacek Laskowski closed XBEAN-141.
---------------------------------

    Resolution: Fixed

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Apache XBean .......................................... SUCCESS [23.907s]
[INFO] Apache XBean :: Spring ................................ SUCCESS [39.765s]
[INFO] Apache XBean :: Maven Plugin .......................... SUCCESS [32.031s]
[INFO] Apache XBean :: Classloader ........................... SUCCESS [5.110s]
[INFO] Apache XBean :: ClassPath ............................. SUCCESS [2.000s]
[INFO] Apache XBean :: Classpath Resource Finder ............. SUCCESS [8.187s]
[INFO] Apache XBean :: Naming ................................ SUCCESS [3.766s]
[INFO] Apache XBean :: ASM shaded (repackaged) ............... SUCCESS [2.406s]
[INFO] Apache XBean :: Reflect ............................... SUCCESS [11.203s]
[INFO] Apache XBean :: Telnet ................................ SUCCESS [40.391s]
[INFO] Apache XBean :: Finder shaded (repackaged) ............ SUCCESS [0.687s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 51 seconds
[INFO] Finished at: Mon Oct 12 17:19:57 CEST 2009
[INFO] Final Memory: 94M/254M
[INFO] ------------------------------------------------------------------------

jlaskowski@work /cygdrive/c/oss/xbean
$ svn status
M       xbean-finder-shaded/pom.xml
M       xbean-asm-shaded/pom.xml

jlaskowski@work /cygdrive/c/oss/xbean
$ svn ci -m 'XBEAN-141 NumberFormatException upon installing the shaded subprojects - asm and reflect - into Apache Felix 2.0.0' .
Sending        xbean-asm-shaded/pom.xml
Sending        xbean-finder-shaded/pom.xml
Transmitting file data ..
Committed revision 824381.


> NumberFormatException upon installing the shaded subprojects - asm and finder - into Apache Felix 2.0.0
> -------------------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-141
>                 URL: https://issues.apache.org/jira/browse/XBEAN-141
>             Project: XBean
>          Issue Type: Bug
>          Components: reflect
>    Affects Versions: 3.6
>            Reporter: Jacek Laskowski
>            Assignee: Jacek Laskowski
>             Fix For: 3.7
>
>
> The header Bundle-Version is set to 3.7-SNAPSHOT and it's done manually in pom.xml while shading. It should be 3.7.0.SNAPSHOT as maven-bundle-plugin does for the other subprojects.
> jlaskowski@work /cygdrive/c/apps/felix-framework
> $ java -jar bin/felix.jar
> Welcome to Felix
> ================
> -> version
> 2.0.0
> -> install file:/C:\.m2\org\apache\xbean\xbean-asm-shaded\3.7-SNAPSHOT\xbean-asm-shaded-3.7-SNAPSHOT.jar
> java.lang.NumberFormatException: For input string: "7-SNAPSHOT"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:458)
>         at java.lang.Integer.parseInt(Integer.java:499)
>         at org.osgi.framework.Version.<init>(Version.java:129)
>         at org.osgi.framework.Version.parseVersion(Version.java:218)
>         at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:77)
>         at org.apache.felix.framework.ModuleImpl.<init>(ModuleImpl.java:200)
>         at org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1095)
>         at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:82)
>         at org.apache.felix.framework.Felix.installBundle(Felix.java:2379)
>         at org.apache.felix.framework.Felix.installBundle(Felix.java:2282)
>         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.InstallCommandImpl.execute(InstallCommandImpl.java:68)
>         at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
>         at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
>         at java.lang.Thread.run(Thread.java:619)
> java.lang.NumberFormatException: For input string: "7-SNAPSHOT"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.