if you are using maven, you may also want to check the p2 mirror mojo
http://wiki.eclipse.org/Tycho/Additional_ToolsJan
-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Mikhail Kalkov
Sent: Freitag, 14. Dezember 2012 14:55
To: P2 developer discussions
Subject: Re: [p2-dev] Mirroring a subset of a p2 repo
I've just looked into the source code of org.eclipse.equinox.p2.repository.tools (4.2.1 release), and it seems that slicing options are _only_ configurable from ant. This also explains why I read p2 docs, thought they will not help me, but didn't actually try them out. Thanks for suggestions, Paul and Pascal. I'll test them now, and if I don't reply to this thread, it means they've worked.
By the way, I've also looked at B3 Aggregator, and it sounded promising, but the project seem to be abandoned and stagnating since two years ago.
/Mikhail
----- Original Message -----
From: "Borislav Kapukaranov" <b.kapukaranov@xxxxxxxxx>
To: "P2 developer discussions" <p2-dev@xxxxxxxxxxx>
Sent: Friday, December 14, 2012 2:37:42 PM
Subject: Re: [p2-dev] Mirroring a subset of a p2 repo
Hi,
Are those slicing options also available in the Eclipse App? If so
what's the argument to configure them?
Thanks,
Bobby
On Fri, Dec 14, 2012 at 3:33 PM, Paul Webster
<pwebster@xxxxxxxxxxxxxxxxxxx> wrote:
On Fri, Dec 14, 2012 at 5:58 AM, Mikhail Kalkov
<mikhail.kalkov@xxxxxxxxxxxxxx> wrote:
I've tried to use p2 mirror task, but it seems that one has to explicitly
include/exclude IU or otherwise everything is mirrored. There is no support
for recursively resolving and adding dependencies. On the other hand, p2
director can automatically resolve all the dependencies and download them
together with the root IU, but there seem to be no way to skip IU
installation.
I've used the p2.mirror task before with a lot of success. As Pascal
mentions, there are slicing options available. What did you use with your
p2.mirror task? An example with slicing options:
http://git.eclipse.org/c/e4/org.eclipse.e4.releng.git/tree/org.eclipse.e4.builder/builder/general/mirror-jface.xml
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
_______________________________________________
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