Community
Participate
Working Groups
Created attachment 133493 [details] Untested patch to use -artifactRepositoryName when generating p2 metadata Build ID: 3.5.0.v20090417091040 Steps To Reproduce: 1. Download http://download.eclipse.org/technology/babel/update-site/galileo/artifacts.jar (not working at present: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=271845#c3 ) 2. unzip -p artifacts.jar | grep babel-working <repository name='file:/home/babel-working/live/output/galileo/ - artifacts' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1'> More information: This is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=266321 . In Babel's case the P2 metadata generator is used, so we should just need the -artifactRepositoryName option: http://wiki.eclipse.org/Equinox_p2_Metadata_Generator#Arguments_describing_the_output As far as I know, this hard-coded path should be benign, but it is ugly, and it could conceivably cause unwanted diffs in some situations (eg distro packaging).
Thanks for the patch. Right now I can't get p2 metadata to complete at all (see bug 274025). If you have any insight, that would be most welcome.
"EclipseGenerator" is now deprecated. I switched to use "UpdateSitePublisher". I added the "metadataRepositoryName" and "artifactRepositoryName" while I was doing that.