Thanks Kim. I've updated out build docs with that
info:
http://wiki.eclipse.org/IT_Infrastructure_Doc#Enable_mirrors_.2F_use_mirrorsURL_for_my_p2_repo.3F
On 03/16/2011 11:08 AM, Kim Moir wrote:
Your artifacts.xml
(jar) should have a
p2.mirrorsURL property. Here is a an example from http://download.eclipse.org/eclipse/updates/3.6/R-3.6.2-201102101200/artifacts.jar
<repository
name='"Eclipse
Project Test Site"'
type='org.eclipse.equinox.p2.artifact.repository.simpleRepository'
version='1'>
<properties size='4'>
<property
name='p2.compressed'
value='true'/>
<property
name='p2.timestamp'
value='1297373227427'/>
<property
name='publishPackFilesAsSiblings'
value='true'/>
<property
name='p2.mirrorsURL'
value='http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.6/R-3.6.2-201102101200&format=xml'/>
</properties>
Kim
From:
Mark Russell
<mrrussell@xxxxxxxxxx>
To:
cross-project-issues-dev@xxxxxxxxxxx
Date:
03/16/2011 10:52 AM
Subject:
[cross-project-issues-dev]
Help
with p2.mirrorURL directive
Sent by:
cross-project-issues-dev-bounces@xxxxxxxxxxx
I am the build Person for the WindowBuilder project
and
we are trying to get our code on to the download.eclipse.org
site. The Eclipse web master told us:
Your downloads should go here:
/home/data/httpd/download.eclipse.org/windowbuilder
If you create a file:
/home/data/httpd/download.eclipse.org/windowbuilder/file.zip
You must use links like this:
http://eclipse.org/downloads/download.php?file=/windowbuilder/file.zip
Please don't link directly to http://download.eclipse.org/windowbuilder since
this bypasses the mirroring mechanisms.
and we asked
Any special considerations for update
sites?
and they responded
Your would use
the p2.mirrorsURL directive, where the mirror URL is something
like:
http://eclipse.org/downloads/download.php?file=/windowbuilder/content.jar
I don't have more info on p2, sorry, but some folks on the
cross-project
list might be able to help out if you need it.
So I'm asking for more info on the p2.mirrorsURL.
I
have done Google searches for it and have not come up with any
documentation that explains this directive and where/how to use
it.
I'm hoping some one on this list can help me.
Thanks in advance,
--
Mark R Russell
(724)
473-3140
Release Engineer
Google Pittsburgh
|