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

For Mylyn I ended up creating a simple shell script [1] and stylesheet
[2] that adds the p2.mirrorsURL and p2.statsURI properties to existing
meta-data. I run this script once when a new repository is promoted to Not pretty but it works.



On Wed, Mar 16, 2011 at 12: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
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@xxxxxxxxxxx

Steffen Pingel
Senior Developer,

Back to the top