On Thu, Nov 12, 2009 at 12:04 PM, Waruna Ranasinghe <[email protected]> wrote:

> Hi all,
> codegen/org.wso2.carbon.codegen/pom.xml of the Codegen component in trunk,
> uses the following as the imported osgi version range for axis2 package
>
> org.apache.axis2.*; version="[${axis2.osgi.version}, 1.5)",
>
>
> This component gave the following error
> [INFO] [bundle:install]
> [INFO] Parsing file:/home/waruna/.m2/repository/repository.xml
> [INFO] Installing
> org/wso2/carbon/org.wso2.carbon.codegen/2.1.0-SNAPSHOT/org.wso2.carbon.codegen-2.1.0-SNAPSHOT.jar
> java.lang.NumberFormatException: For input string: "[null, 1"
>     at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>     at java.lang.Integer.parseInt(Integer.java:447)
>     at java.lang.Integer.parseInt(Integer.java:497)
>     at org.osgi.framework.Version.<init>(Version.java:127)
>     at
> org.osgi.impl.bundle.obr.resource.VersionRange.<init>(VersionRange.java:49)
>     at
> org.osgi.impl.bundle.obr.resource.ManifestEntry.addParameter(ManifestEntry.java:92)
>     at
> org.osgi.impl.bundle.obr.resource.Manifest.getEntries(Manifest.java:210)
>     at org.osgi.impl.bundle.obr.resource.Manifest.entry(Manifest.java:123)
>     at org.osgi.impl.bundle.obr.resource.Manifest.parse(Manifest.java:73)
>     at org.osgi.impl.bundle.obr.resource.Manifest.<init>(Manifest.java:42)
>
>
>
> Doesn't it need to be changed to the following
>
> org.apache.axis2.*; version="${axis2.osgi.version.range}",
>
>
Yes. It should updated the to use the "axis2.osgi.version.range" property.

BTW the version range of Axis2 in trunk is [1.5.0, 1.7.0). IMV this should
be changed to [1.5.0, 1.6.0). Since we cannot guarantee Axis2 1.5.x family
compatible with 1.6.x family.

Thanks
Sameera

>
> Thanks,
> Waruna
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to