Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Mirroring Pieces of the Kepler Site without .blobstore(Mirroring Pieces of the Kepler Site without .blobstore)
Mirroring Pieces of the Kepler Site without .blobstore [message #1404270] Wed, 30 July 2014 19:29
Wendy Haley is currently offline Wendy HaleyFriend
Messages: 11
Registered: July 2013
Junior Member
I am trying to create a partial mirror of the Kepler Site in a format that does not contain a .blobstore.

I tried the following Ant Task

<project name="Generate Target" default="create-target" basedir=".">
<target name="create-target">
<p2.mirror>
<repository location="file:///C:/repositories/eclipse-p2" name="eclipse-p2" format="http://download.eclipse.org/releases/kepler" />
<source>
<repository location="http://download.eclipse.org/releases/kepler" />
</source>
<slicingoptions followStrict="true" />
<iu id="org.eclipse.rcp.feature.group" />
<iu id="org.eclipse.rcp.source.feature.group" />
<iu id="org.eclipse.e4.rcp.feature.group" />
<iu id="org.eclipse.e4.rcp.source.feature.group" />
<iu id="org.eclipse.equinox.executable.feature.group" />
<iu id="org.eclipse.emf.common.feature.group" />
<iu id="org.eclipse.emf.ecore.feature.group" />
<iu id="org.eclipse.platform.feature.group" />
<iu id="org.eclipse.platform.source.feature.group" />
</p2.mirror>
</target>
</project>

Executing the Ant Task using STS
%eclipse.location%\sts -noSplash -application org.eclipse.ant.core.antRunner -buildfile %script.location%\build-kepler.xml pause

I was not sure how the "format" attribute works but according to the following URLs I think this is what I need.
http://wiki.eclipse.org/Equinox/p2/Ant_Tasks#Simple_Examples

I have also tried to decipher http://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL#How_to_avoid_.blobstore_for_.2A.jar.pack.gz_files but I must have missed something here as well.
Previous Topic:IPackageFragment not open when trying to get IPackageFragment with pacakge name
Next Topic:Programatic way to get the Package Explorer used Working Sets
Goto Forum:
  


Current Time: Wed Dec 13 05:48:13 GMT 2017

Powered by FUDForum. Page generated in 0.02048 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software