Hi,

I get a  $subject when compiling the ss p2-profile. Please find the stack
trace below.

[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Command line:
    /bin/sh -c cd
/home/shani/sranasinghe/trunk/carbon/platform/branches/turing/products/ss/1.1.0/modules/p2-profile
&& /opt/java/jdk1.6.0_45/jre/bin/java -jar
/home/shani/.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
/home/shani/sranasinghe/trunk/carbon/platform/branches/turing/products/ss/1.1.0/modules/p2-profile/target/tmp.1384344139652/featureExtract
-metadataRepository
file:/home/shani/sranasinghe/trunk/carbon/platform/branches/turing/products/ss/1.1.0/modules/p2-profile/target/p2-repo
-metadataRepositoryName wso2ss-p2-profile -artifactRepository
file:/home/shani/sranasinghe/trunk/carbon/platform/branches/turing/products/ss/1.1.0/modules/p2-profile/target/p2-repo
-artifactRepositoryName wso2ss-p2-profile -publishArtifacts
-publishArtifactRepository -compress -append
Generating metadata for ..
Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 For input
string: "${exp" java.lang.NumberFormatException: For input string: "${exp"

Product publishing ended with the following exception:
java.lang.NumberFormatException: For input string: "${exp"
    at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:449)
    at java.lang.Integer.parseInt(Integer.java:499)
    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:662)

Product publisher application was executed with the following arguments:
-source
/home/shani/sranasinghe/trunk/carbon/platform/branches/turing/products/ss/1.1.0/modules/p2-profile/target/tmp.1384344139652/featureExtract
-metadataRepository
file:/home/shani/sranasinghe/trunk/carbon/platform/branches/turing/products/ss/1.1.0/modules/p2-profile/target/p2-repo
-metadataRepositoryName
wso2ss-p2-profile
-artifactRepository
file:/home/shani/sranasinghe/trunk/carbon/platform/branches/turing/products/ss/1.1.0/modules/p2-profile/target/p2-repo
-artifactRepositoryName
wso2ss-p2-profile
-publishArtifacts
-publishArtifactRepository
-compress
-append
[ERROR] P2 publisher return code was 1
org.apache.maven.plugin.MojoFailureException: P2 publisher return code was 1
    at
org.wso2.maven.p2.RepositoryGenMojo.generateRepository(RepositoryGenMojo.java:255)
    at
org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:204)
    at
org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildP

-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to