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

It is actually important that you move off of it since in M6 it got removed.

On 2011-03-16, at 7:43 PM, Jeff McAffer wrote:

The EclipseGenerator (all the generator.* stuff) is old and you should be using the "publisher" instead.  I'm not saying that it will address your particular problem but it will definitely publish better metadata.  Check out 
There are apps and ant tasks for publishing bundles and features, categories, products, ...

It may be that a p2.inf file can be used to generate the repo property you need.  Not sure.

Jeff

On 2011-03-16, at 2:12 PM, Mark Russell wrote:

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:

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='&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='http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.6/R-3.6.2-201102101200&amp;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


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev




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


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


Back to the top