stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@wso2.com>
Subject Re: Cloud controller build error
Date Mon, 22 Jul 2013 14:10:48 GMT
Hi Udara,

I was able to build the cloud controller without a problem.
May be you could take a clean pull from the remote repo and give it a try.

Thanks


On Mon, Jul 22, 2013 at 5:05 PM, Udara Liyanage <udara@wso2.com> wrote:

> Hi,
>
> I got the following error when building the p2-profile of cloud controller
> product
>
>  Extracting feature
> org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
> [INFO] Copying resources
> [INFO] Running Equinox P2 Publisher Application for Repository Generation
> [INFO] Command line:
> /bin/sh -c cd
> /home/udara/carbon/newapache/incubator-stratos/products/cloud_controller/1.0.1/modules/p2-profile
> && /home/udara/installed/jdk1.6.0_25/jre/bin/java -jar
> /home/udara/.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/udara/carbon/newapache/incubator-stratos/products/cloud_controller/1.0.1/modules/p2-profile/target/tmp.1374492633416/featureExtract
> -metadataRepository
> file:/home/udara/carbon/newapache/incubator-stratos/products/cloud_controller/1.0.1/modules/p2-profile/target/p2-repo
> -metadataRepositoryName cloud-controller-p2-profile -artifactRepository
> file:/home/udara/carbon/newapache/incubator-stratos/products/cloud_controller/1.0.1/modules/p2-profile/target/p2-repo
> -artifactRepositoryName cloud-controller-p2-profile -publishArtifacts
> -publishArtifactRepository -compress -append
> Generating metadata for ..
> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 For input
> string: "${axis2" java.lang.NumberFormatException: For input string:
> "${axis2"
>
> Product publishing ended with the following exception:
> java.lang.NumberFormatException: For input string: "${axis2"
> 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.service.resolver.VersionRange.<init>(VersionRange.java:92)
>  at
> org.eclipse.osgi.internal.resolver.StateBuilder.getVersionRange(StateBuilder.java:686)
> at
> org.eclipse.osgi.internal.resolver.StateBuilder.addImportPackages(StateBuilder.java:289)
>  at
> org.eclipse.osgi.internal.resolver.StateBuilder.createImportPackages(StateBuilder.java:268)
> at
> org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:113)
>  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/udara/carbon/newapache/incubator-stratos/products/cloud_controller/1.0.1/modules/p2-profile/target/tmp.1374492633416/featureExtract
> -metadataRepository
>
> file:/home/udara/carbon/newapache/incubator-stratos/products/cloud_controller/1.0.1/modules/p2-profile/target/p2-repo
> -metadataRepositoryName
> cloud-controller-p2-profile
> -artifactRepository
>
> file:/home/udara/carbon/newapache/incubator-stratos/products/cloud_controller/1.0.1/modules/p2-profile/target/p2-repo
> -artifactRepositoryName
> cloud-controller-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.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>  at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
>  at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>  at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
>
> --
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
*Imesh Gunaratne*
Technical Lead
WSO2 Inc | http://wso2.com
Mobile: +94 77 374 2057
Blog: http://imesh.gunaratne.org

Lean . Enterprise . Middleware

Mime
View raw message