Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Is it possible to mirror a deltapack and refer to it (as update site) in a *.target definition?
Is it possible to mirror a deltapack and refer to it (as update site) in a *.target definition? [message #658233] Mon, 07 March 2011 14:08
Antonel Ernest Pazargic is currently offline Antonel Ernest PazargicFriend
Messages: 69
Registered: July 2009
Member
I am trying to create a valid DeltaPack update site using p2.mirror, using
the following p2.mirror ant task (see
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/p2_repositorytasks.htm):

<target name="p2.mirror.deltapack">
<p2.mirror source="${helios.updates}" verbose="true"
log="${basedir}/p2_mirror_delta_pack.log">
<destination location="file://${repository.deltapack.loc}" name="RCP
Delta Pack" />
<iu id="org.eclipse.platform.feature.group"/>
<iu id="org.eclipse.rcp.feature.group"/>
<iu id="org.eclipse.jdt.feature.group"/>
<iu id="org.eclipse.equinox.executable"/>
<slicingOptions includeOptional="false" includeNonGreedy="false"
followStrict="true" followOnlyFilteredRequirements="true" />
</p2.mirror>
</target>

It seems that the the whole DP features & bundles are successfully
mirrored/downloaded to the local directory, say, ${DELTA_PACK_LOCATION}.

Looking at ${DELTA_PACK_LOCATION} it looks like a valid p2-like
update-site to me.

But if I am trying to refer to this location in my *.target (as update
site), the PDE sees an empty content.
I didn't managed to successfully refer to is in my *.target definition.

Does anyone managed to mirror the DeltPack, and successfully refer to it?

I have tried to use the Equinox/p2/Installer (see here
http://wiki.eclipse.org/Equinox_p2_Installer), but unfortunately it seems
these installers are unavailable. Is it a URL issue or the p2 installers
projects are no more under development?


Thank you in advance for your help

Jtonic

Note:
I've managed to mirror locally all required RCP features (RCP, Help, P2
user UI) but I failed to create a mirror for DeltaPack.
So I cannot (PDE)build the RCP product. :(((
Previous Topic:Delta pack bundles not resolving
Next Topic:PDE Build with p2.gathering and root files fails.
Goto Forum:
  


Current Time: Sun Dec 21 23:27:22 GMT 2014

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

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