I am getting this error during the p2-profile-gen. Any idea how to overcome/debug this? My feeling is that version provided somewhere is wrong.
[INFO] Running Equinox P2 Publisher Application for Repository Generation [INFO] Command line: /bin/sh -c cd /opt/builds/trunk/carbon/platform/trunk/products/bam2/modules/p2-profile-gen && /opt/installations/jdk1.6.0_13/jre/bin/java -jar /home/chamith/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source /opt/builds/trunk/carbon/platform/trunk/products/bam2/modules/p2-profile-gen/target/tmp.1341491384322/featureExtract -metadataRepository file:/opt/builds/trunk/carbon/platform/trunk/products/bam2/modules/p2-profile-gen/target/p2-repo -metadataRepositoryName wso2bam-p2-profile-gen -artifactRepository file:/opt/builds/trunk/carbon/platform/trunk/products/bam2/modules/p2-profile-gen/target/p2-repo -artifactRepositoryName wso2bam-p2-profile-gen -publishArtifacts -publishArtifactRepository -compress -append Generating metadata for .. Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 For input string: "[0" java.lang.NumberFormatException: For input string: "[0" Product publishing ended with the following exception: java.lang.NumberFormatException: For input string: "[0" 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.framework.Version.parseVersion(Version.java:225) at org.eclipse.osgi.internal.resolver.StateBuilder.addExportPackages(StateBuilder.java:338) at org.eclipse.osgi.internal.resolver.StateBuilder.createExportPackages(StateBuilder.java:320) at org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:110) at org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32) at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:531) at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:546) at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.getBundleDescriptions(BundlesAction.java:846) at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.perform(BundlesAction.java:657) at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.executeBatch(SimpleArtifactRepository.java:1294) at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:231) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:283) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:253) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(AbstractPublisherApplication.java:315) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26) at java.lang.Thread.run(Thread.java:619) Regards Buddhika
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev