Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Help with p2.mirrorURL directive

I in the artifact.jar I create there is no p2.mirrorsURL.  We use org.eclipse.equinox.p2.metadata.generator.EclipseGenerator to generate our p2 meta data from a site.xml.  How do I get the p2.mirrorURL into the artifact.jar/.xml?  I have searched and can not seem to find any documentation that tells me how to do this.

On Wed, Mar 16, 2011 at 1:16 PM, Denis Roy <denis.roy@xxxxxxxxxxx> wrote:
Thanks Kim.  I've updated out build docs with that info:

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

<repository name='&quot;Eclipse Project Test Site&quot;' 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=';format=xml'/>


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 site.  The Eclipse web master told us:
Your downloads should go here:

If you create a file:

You must use links like this:

Please don't link directly to 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:

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

cross-project-issues-dev mailing list

Mark R Russell
(724) 473-3140
Release Engineer
Google Pittsburgh

Back to the top