[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cbi-dev] Problems building Eclipse Platform from the R4_3_maintance branch
|
Hi Phil,
I was able to finally reproduce the issue after doing a fresh clone and
clearing my ~/.m2/repository. Except in my case it failed on a different
module than what you pasted. Below is the full error output of what I
saw on my run. It looks like tycho-packaging-plugin tries to open a zip
file and fails thus throwing the error.
What I noticed is that for the module the build fails on the /target
directory is always empty at this state so I suspect the reason the zip
part fails is because it's trying to check an a zip file that doesn't
exist assuming it's looking for the file that should be in /target.
If I run "mvn clean verify -Pbree-libs" again (without cleaning anything
up) after getting this error the build actually gets further and then
failed on a different module but if I build again that module succeeds
the next time. What I've noticed is it always failes on "feature"
modules and I'm not sure why but seems pretty odd. It seems as if these
modules just fail on first build but succeed on 2nd build of them.
At the moment I've run into this failure twice for 2 seperate modules
(o.e.equinox.p2.core-feature and org.eclipse.jdt-feature) and am
rerunning a 3rd build now. I'll see how much further it gets, it's late
for me now so I'll check up on the build tomorrow.
Thanh
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature
(default-package-feature) on project org.eclipse.equinox.p2.rcp.feature:
Execution default-package-feature of goal
org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed:
Could not determine installation size: error in opening zip file -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal
org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature
(default-package-feature) on project org.eclipse.equinox.p2.rcp.feature:
Execution default-package-feature of goal
org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed:
Could not determine installation size
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
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:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-package-feature of goal
org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed:
Could not determine installation size
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: Could not determine installation size
at
org.eclipse.tycho.packaging.FeatureXmlTransformer.getInstallSize(FeatureXmlTransformer.java:130)
at
org.eclipse.tycho.packaging.FeatureXmlTransformer$1.visitPlugin(FeatureXmlTransformer.java:77)
at
org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traversePlugin(AbstractArtifactDependencyWalker.java:205)
at
org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traverseFeature(AbstractArtifactDependencyWalker.java:85)
at
org.eclipse.tycho.core.osgitools.AbstractArtifactDependencyWalker.traverseFeature(AbstractArtifactDependencyWalker.java:62)
at
org.eclipse.tycho.packaging.FeatureXmlTransformer.transform(FeatureXmlTransformer.java:47)
at
org.eclipse.tycho.packaging.PackageFeatureMojo.expandVersionQualifiers(PackageFeatureMojo.java:233)
at
org.eclipse.tycho.packaging.PackageFeatureMojo.execute(PackageFeatureMojo.java:116)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.jar.JarFile.<init>(JarFile.java:153)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at
org.eclipse.tycho.packaging.FeatureXmlTransformer.getInstallSize(FeatureXmlTransformer.java:116)
... 28 more