Home » Eclipse Projects » P2 » different behaviors when mirroring a p2 repository
different behaviors when mirroring a p2 repository [message #969741] |
Sat, 03 November 2012 10:02  |
Eclipse User |
|
|
|
Hi
I've just started learning how to mirror a p2 repository with p2.mirror
ant task...
if I use this file
<project name="Create Mirror" default="create-mirror" basedir=".">
<property name="target.dir" value="/tmp/mirror/sdk-4.2"/>
<target name="create-mirror">
<p2.mirror source="http://download.eclipse.org/eclipse/updates/4.2">
<!-- use format to avoid .blobstore !-->
<destination location="${target.dir}" format="./template" />
<iu id="org.eclipse.platform.sdk" />
</p2.mirror>
</target>
</project>
then it actually creates a mirror with all the eclipse sdk stuff...
however, if I use this source
"http://download.eclipse.org/releases/juno", instead of
"http://download.eclipse.org/eclipse/updates/4.2", it starts cloning all
the features and plugins (i.e., besides the eclipse sdk, also mylyn,
cdt, etc.)... why is it ignoring the iu directive? I also tried add
<slicingOptions includeOptional="false" /> but the behavior does not
change... am I missing something?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
|
|
| |
Re: different behaviors when mirroring a p2 repository [message #984009 is a reply to message #982825] |
Wed, 14 November 2012 05:23   |
Eclipse User |
|
|
|
On 11/13/2012 01:58 PM, Brian de Alwis wrote:
> /releases/juno includes all the projects that were part of the Juno
> release train.
> /eclipse/updates/4.2 is just the platform.
Hi
I see, but since I specified
<iu id="org.eclipse.platform.sdk" />
why does it start cloning *all* the features and plugins (i.e., besides
the eclipse sdk, also mylyn, cdt, etc.)?
shouldn't it clone ONLY the IU I specified (and its deps)?
or am I missing something?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
|
|
| | |
Goto Forum:
Current Time: Mon Jul 14 05:00:48 EDT 2025
Powered by FUDForum. Page generated in 0.47612 seconds
|