Alright i've created a 'p2.index' file at that location and pasted
the 3 lines into it.
Thanks for the explanation.
Nathan Gervais
Web Developer - Eclipse Foundation
On 6/22/2011 11:42 AM, Markus Knauer wrote:
See http://wiki.eclipse.org/Equinox/p2/p2_index
- it allows you to change the order in which p2 searches for
certain files (content.jar, content.xml, compositeContent.jar,
compositeContent.xml).
It is enough if you create the p2.index file in the directory with
the compositeArtifacts.jar and compositeContent.jar files and copy
the three lines into it.
Regards, Markus
On 22 June 2011 17:21, Nathan Gervais <nathan@xxxxxxxxxxx>
wrote:
Steffan,
I've removed content.xml from that location.
I've also asked about whether the files i have in that
directory need to be updated as well in https://bugs.eclipse.org/bugs/show_bug.cgi?id=332073
Can you expand on what you meanFor the p2.index file? I'm not
sure what your asking me to do there.
Nathan Gervais
Web Developer - Eclipse Foundation
On 6/22/2011 11:04 AM, Steffen Pingel wrote:
While testing I noticed that the
/home/data/httpd/marketplace.eclipse.org/repo/content.xml
has outdated
meta-data that references IUs from an Indigo milestone
build rather
than the final repository contents.
This causes installs to fail with errors such as "No
repository found
containing: osgi.bundle,org.eclipse.birt.core,3.7.0.v20110519".
It seems that the content.xml should be deleted ASAP so
that p2 uses
the compositeArtifacts.jar and compositeContent.jar
instead.
We should also place a p2.index file in the same directory
to avoid
unnecessary round-trips:
version=1
metadata.repository.factory.order=compositeContent.jar,!
artifact.repository.factory.order=compositeArtifacts.jar,!
Steffen
_______________________________________________
mpc-dev mailing list
mpc-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mpc-dev
|