Community
Participate
Working Groups
It seems that the maven repository cache at /opt/users/hudsonbuild/.m2 contains a corrupt artefact. While building RAP using tycho (https://hudson.eclipse.org/hudson/job/rap-runtime/348), we get an Exception reading bundle manifest of /opt/users/hudsonbuild/.m2/repository/p2/osgi/bundle/org.eclipse.jetty.io/8.0.2.SNAPSHOT/org.eclipse.jetty.io-8.0.2.SNAPSHOT.jar See the console output for the full stack trace. Running this build locally works. The build uses a (p2) repository to fetch from at http://build.eclipse.org/rt/rap/base-platforms/extra-dependencies. This repository contains Jetty bundles from a nightly build that apparently have no version timestamp (see bug 360459). Maven/Tycho (with good reason) seems to take these bundles from the cache even though they might not be equal to those from the remote repository. Can the corrupt bundle(s) be removed from cache?
So I can just rm -rf /opt/public/rt/rap/base-platforms/extra-dependencies/plugins/org.eclipse.jetty.* ? -M.
(In reply to comment #1) > So I can just rm -rf > /opt/public/rt/rap/base-platforms/extra-dependencies/plugins/org.eclipse.jetty.* > ? > > -M. No! Sorry if I wasn't clear. These are OK. The ounterparts from the maven cache seem corrupted. I'd rahter delete org.eclipse.jetty*SNAPSHOT* from the maven cache (or do whatever the maven/tycho-way of removing things from the cache is). After that I would assume that the proper bundles would be taken from the repository /opt/public/rt/rap/base-platforms/extra-dependencies/plugins
Ok, I've moved the org.eclipse.jetty.io(in ~hudsonbuild/.m2/repository/p2/osgi/bundle) out of the way . Let me know if that helps. -M.
Matt, thanks for your help. In the meanwhile, Jetty 8.0.2 was released and bundles were made available. This solves the problem, either the artefafcts haven't been in cache yet or they are intact.