p2.mirror task fails when using iu with specific version [message #1787284] |
Wed, 23 May 2018 02:38  |
Eclipse User |
|
|
|
Hello,
i'm trying to create an minimized offline mirror of the orbit repository using the p2.mirror ant task.
This works well if i use an "iu" without the version attribute.
But when i try to mirror a specific version, the build fails with the following message:
build.xml:11: Unable to find: Installable Unit [ id=org.objectweb.asm version=5.2.0 ]
My ant file is the shown below:
<project name="Create mirror of orbit" default="mirror">
<!-- Properties for orbit of Oxygen.3 -->
<property name="version">R20180330011457</property>
<property name="repository">http://download.eclipse.org/tools/orbit/downloads/drops/${version}/repository</property>
<target name="mirror">
<echo>Creating Mirror of Orbit ${version}</echo>
<echo>Source: ${repository}</echo>
<echo>Destination: ${basedir}\${version}</echo>
<p2.mirror>
<repository location="${basedir}\${version}" name="Mirror of Orbit ${version}" />
<source>
<repository location="${repository}" />
</source>
<iu id="com.google.guava" />
<iu id="com.google.inject" />
<iu id="org.objectweb.asm" version="5.2.0"/>
<slicingoptions platformfilter="win32,win32,x86_64" />
</p2.mirror>
</target>
</project>
I have double checked that the iu is available in this version in the repository. When i remove the version, it mirrors "org.objectweb.asm" in version "6.0.0".
Is there anything i can do about that?
Regards,
Matthias
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03748 seconds