[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0 - Zip file is empty
|
Good idea, since the following note appears
in Running
the build
= = = =
NOTE for building from R4_3_1 tag: Due to some
mis-timing of removing a temporary repository (bug
418627) if you want to re-build Eclipse 4.3.1
from its tag, you will need to add following '-D' option for the current
license repository. This is not required if building from master branch
or current R4_3_maintenance branch.
mvn clean verify -Dlicense-repo.url="">
= = = =
And, I've just been assuming that was
"well known". Plus appeared Phil was trying with multiple branches/tags,
... but, maybe that interacts with when "local cached is cleaned"
or something?)
From:
Mikhail Kalkov <mikhail.kalkov@xxxxxxxxxxxxxx>
To:
Tycho user list <tycho-user@xxxxxxxxxxx>,
Date:
02/27/2014 09:01 AM
Subject:
Re: [tycho-user]
Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.19.0
- Zip file is empty
Sent by:
tycho-user-bounces@xxxxxxxxxxx
Hi,
This is just an idea, but I hope it helps. From a quick look at package-feature
mojo's source code [1], it appears that tycho is examinating a license
feature jar using zip utilities. Furthermore, from the declaration of org.eclipse.e4.rcp
feature [2], it seems that the license feature is called "org.eclipse.license".
Can you double-check that it is available somewhere?
[1] https://github.com/eclipse/tycho/blob/master/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/PackageFeatureMojo.java
[2] https://github.com/eclipse/eclipse.platform.ui/blob/master/features/org.eclipse.e4.rcp/feature.xml
Kind regards,
Mikhail Kalkov
Eclipse Developer | Purple Scout AB | www.purplescout.com
Kyrkogatan 20-22, SE-41110 Gothenburg, Sweden
On Wed, Feb 26, 2014 at 5:14 PM, Phil Mason <phil.mason@xxxxxxxxxxxx>
wrote:
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
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user