[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jgit-dev] Tycho choking on a JAR
|
2010/1/15 Chris Aniszczyk
<caniszczyk@xxxxxxxxx>
Any idea why Tycho is choking on this JAR?
https://build.eclipse.org/hudson/job/jgit/109/console
Things are working great locally but not on build.eclipse.org
[INFO] Fetching com.jcraft.jsch_0.1.41.v200903070017.jar.pack.gz (2.35kB of 76.72kB at 0B/s) from http://mirrors.xmission.com/eclipse/eclipse/updates/3.5/R-3.5-200906111540/plugins/com.jcraft.jsch_0.1.41.v200903070017.jar.pack.gz
[WARNING] Exception reading bundle manifest
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:125)
at org.codehaus.tycho.osgitools.EquinoxBundleResolutionState.doLoadManifest(EquinoxBundleResolutionState.java:343)
at org.codehaus.tycho.osgitools.EquinoxBundleResolutionState.loadManifest(EquinoxBundleResolutionState.java:305)
at org.codehaus.tycho.osgitools.EquinoxBundleResolutionState.loadBundleManifest(EquinoxBundleResolutionState.java:401)
at org.codehaus.tycho.osgitools.EquinoxBundleResolutionState.addBundle(EquinoxBundleResolutionState.java:80)
at org.codehaus.tycho.osgitools.EquinoxBundleResolutionState.newInstance(EquinoxBundleResolutionState.java:500)
at org.codehaus.tycho.osgitools.AbstractDependenciesReader.getBundleResolutionState(AbstractDependenciesReader.java:185)
at org.codehaus.tycho.osgitools.AbstractDependenciesReader.getPluginsDependencies(AbstractDependenciesReader.java:110)
at org.codehaus.tycho.osgitools.FeatureDependencyReader.getDependencies(FeatureDependencyReader.java:38)
at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:118)
It complains that this jar doesn't contain a proper manifest, could you check that under the given path pointing to the
local maven repo on the build server ? I do not have access to the server.
[ERROR] Internal error: java.lang.RuntimeException: Unable to initialize BundleResolutionState: Manifest not found
in /opt/users/hudsonbuild/.hudson/jobs/jgit/workspace/.repository/p2/osgi/bundle/com.jcraft.jsch/0.1.41.v200903070017/com.jcraft.jsch-0.1.41.v200903070017.jar
In my local repo this manifest looks ok. I also dowloaded it from the URL given in the build log
http://mirrors.xmission.com/eclipse/eclipse/updates/3.5/R-3.5-200906111540/plugins/com.jcraft.jsch_0.1.41.v200903070017.jar.pack.gz
and compared the contained manifest with my local copy, for me they are identical. Maybe you have a corrupt copy in the local m2 repo.
The other difference to my local build is the maven 3 version, I run on alpha-6 which was released recently. Hence I retried
with alpha-5 but this also works here.
Maybe Maven cannot locate the unpack200, try passing its path via system property as described here :
http://wiki.eclipse.org/Pack200
--
Matthias