Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] how to use of org.eclipse.equinox.p2.repository.tools p2.composite.repository with tycho ?

Hi Nick,

thanks for the tip. I've added it to the our composite creation tasks.

regards,

Cristiano

On 17/01/13 19:06, Nick Boldt wrote:
As an extra step you could also generate a p2.index file to make reading the site slightly faster and trap fewer 404s on your web server:

http://wiki.eclipse.org/Equinox/p2/p2_index#Example_for_composite_repository

On 01/17/2013 02:10 PM, � wrote:
Thank you both Nick and Michael,

I could create my dynamic composite site generation.

I've create an aggregate maven project and created one profile that
builds all p2 for a specific milestone.
I added an ant build in the verify phase of each p2 project that copy
the result to a deployment folder.
To finish, in the verify phase of the aggregate project I added an ant
script that takes each copied subfolder and creates the two xml needed
for composite p2.

cheers,

Cristiano



On 16/01/13 17:20, Cristiano Gavião wrote:
Hi,

I'm generating a series of p2 repositories for my system, one for each
module.

Until now I'm creating a composite p2 for each milestone by hand and I
would like to automate this in the same aggregate reactor that creates
the p2.

I could find that exists an ant target in the
org.eclipse.equinox.p2.repository.tools bundle that could be used for
this goal.

I know that I could use maven-antrun-plugin, but I couldn't find a way
to reference the bundle on it, since its not published in maven
central repo.

Could someone give me a hint/example of how could I use it inside a
tycho build ?

thanks for any tip.

Cristiano



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user





Back to the top