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 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. :(((
|
|
|
Powered by
FUDForum. Page generated in 0.02895 seconds