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

Gunnar:
Thanks for the Information

On Wed, Mar 16, 2011 at 3:31 PM, Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:
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



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



Back to the top