Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0 - Zip file is empty

Hi,

 

(I think this is a tycho problem, please point me elsewhere if I’m asking in the wrong place)

 

I’m trying to build the eclipse platform (following the instructions on http://wiki.eclipse.org/Platform-releng/Platform_Build fairly closely) and my build is failing with this message

 

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature (default-package-feature) on project org.eclipse.e4.rcp: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed: Could not determine installation size: zip file is empty -> [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.e4.rcp: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed: Could not determine installation size

 

Running maven with -e and -X I can see that the last thing it does before the problem occurs is

 

[INFO] --- tycho-packaging-plugin:0.19.0:package-feature (default-package-feature) @ org.eclipse.e4.rcp ---

[DEBUG] Configuring mojo org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature from plugin realm ClassRealm[plugin>org.eclipse.tycho:tycho-packaging-plugin:0.19.0, parent: sun.misc.Launcher$AppClassLoader@2771f735]

[DEBUG] Configuring mojo 'org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature' with basic configurator -->

[DEBUG]   (s) addMavenDescriptor = false

[DEBUG]   (f) archive = org.apache.maven.archiver.MavenArchiveConfiguration@68fb4f1f

[DEBUG]   (f) basedir = /dev/shm/pmason/eclipse.platform.releng.aggregator/eclipse.platform.ui/features/org.eclipse.e4.rcp

[DEBUG]   (f) deployableFeature = false

[DEBUG]   (f) finalName = org.eclipse.e4.rcp-1.2.2-SNAPSHOT

[DEBUG]   (f) outputDirectory = /dev/shm/pmason/eclipse.platform.releng.aggregator/eclipse.platform.ui/features/org.eclipse.e4.rcp/target

[DEBUG]   (f) project = MavenProject: org.eclipse.e4.feature:org.eclipse.e4.rcp:1.2.2-SNAPSHOT @ /dev/shm/pmason/eclipse.platform.releng.aggregator/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml

[DEBUG]   (f) qualifier = v20140206-1358

[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@3a646783

[DEBUG]   (f) strictBinIncludes = false

[DEBUG]   (f) target = /dev/shm/pmason/eclipse.platform.releng.aggregator/eclipse.platform.ui/features/org.eclipse.e4.rcp/target/site

[DEBUG]   (f) useDefaultExcludes = true

[DEBUG] -- end configuration --

 

After which it reports

 

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature (default-package-feature) on project org.eclipse.e4.rcp: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0:package-feature failed: Could not determine installation size: zip file is empty -> [Help 1]

 

I’m trying to work out if the problem is that something hasn’t downloaded correctly (and therefore has zero size) or some part of the build has failed and hence the output has zero size.

 

Is there any way to make Tycho tell me what zip file has zero size? I couldn’t work it out from looking at the pom.xml mentioned in the trace above and the only other thing I can think of at present is to run the build with strace but that will produce a logfile that dwarfs the current 131MB log output

 

If anybody is able to offer any suggestions I’d be really grateful.

 

Thanks in advance

 

Phil

 


Back to the top