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

David:
Thanks for the info I will investigate it

On Wed, Mar 16, 2011 at 5:00 PM, David M Williams <david_williams@xxxxxxxxxx> wrote:
I am not familiar with 'EclipseGenerator' ... and Gunnar knows best in all things, as far as I'm concerned ... but, there is a way to specify a mirrorsURL in a site.xml.

http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tools/editors/site_editor/archives.htm

Of course, maybe what's being said is the EclipseGenerator app ignores that attribute in the "conversion" to p2 ... in which case, never mind. :)






From:        Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
To:        Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date:        03/16/2011 03:31 PM
Subject:        Re: [cross-project-issues-dev] Help with p2.mirrorURL directive
Am 16.03.2011 19:12, schrieb Mark Russell:
> 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.

Unfortunately, there is no out-of-the-box way to do this. You need to
unzip the artifact.jar and patch the property in. This can be done as
part of the build, though.

Another way is to prepare a "template" artifact.xml and instruct the p2
mirror task to use the template when mirroring to the final download
location.

I wish there was a task to set/update properties directly from within Ant.

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/
_______________________________________________
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




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



Back to the top