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

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

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


Gunnar Wagenknecht

Back to the top