Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] p2.mirrorsURL property - how do different projects handle this?

Am 18.02.2012 12:54, schrieb Stephan Herrmann:
> From the p2 documentation I don't see any connection between
> the ant taks you cite and this question. Am I missing anything?

The template artifact.xml contains the mirrorURL with a placeholder and
is empty. At build time, the placeholder is replaced with the proper
mirror url coresponding download location. When mirroring the IUs to the
download location, p2 then includes the mirror url from the template. I
like this approach because it doesn't require unpacking, manipulating
and re-packing the final metadata jar.

-Gunnar


-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/


Back to the top