[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Proper Way To Install from P2 Zipped Repos

With 3.5M7 you can use the new p2.director to install multiple IUs
(.feature.groups) into a target in a single operation. I've integrated
this into the Athena builder so you can use multiple repos (or just
the Galileo one) and multiple IUs (emf, cdt, gef, birt) to provision
the target before builing or running tests. Just released it to HEAD
yesterday - and it's all Ant driven by a couple simple properties to
define the repos and IUs.

I plan to test it with zipped repos next... Let me know if you need a
link to the script.


On 5/21/09, Mark Melvin <Mark.Melvin@xxxxxxxxxx> wrote:
> Hey Paul,
> Yup - that is where I am going.  I'm not 100% sure this will work for me
> as I am doing a "custom" PDE build but I can give it a try.  That would
> make things a lot easier.
> I also just found the updated wiki page describing the P2 repository Ant
> Tasks (http://wiki.eclipse.org/Equinox/p2/Ant_Tasks).  Pretty sweet.  I
> didn't realize you could specifiy multiple source repos!
> Thanks,
> Mark.
>> -----Original Message-----
>> From: p2-dev-bounces@xxxxxxxxxxx
>> [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Paul Webster
>> Sent: May 21, 2009 10:13 AM
>> To: P2 developer discussions
>> Subject: Re: [p2-dev] RE: Proper Way To Install from P2 Zipped Repos
>> Mark, is it that you just want to use p2 repos as part of you build?
>> In the e4 build we download the zipped repos into a directory
>> (don't unzip them) and then set a build property:
>> # a list of archived p2 repos to compile against
>> repoBaseLocation=${untransformed.dir}
>> transformedRepoLocation=${untransformed.dir}-trans
>> PDE build creates a runnable repo from the sum of all of the
>> p2 repos in the "untransformed.dir"
>> You can then use it as part of your compile, and later are
>> part of our automated testing in e4 we use the runnable repo
>> and p2 to install into everything into the test SDK.
>> Is that where you were going with this?
>> Later,
>> PW
>> --
>> Paul Webster
>> Hi floor.  Make me a sammich! - GIR
>> _______________________________________________
>> p2-dev mailing list
>> p2-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/p2-dev
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev

Sent from my mobile device

Nick Boldt :: JBoss, a division of Red Hat
Productization Lead :: JBoss Tools & Dev Studio
Release Engineer :: Eclipse Modeling & Dash CBI