ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r669141 - /ant/ivy/ivyde/trunk/build.xml
Date Wed, 18 Jun 2008 11:53:01 GMT
Author: hibou
Date: Wed Jun 18 04:53:00 2008
New Revision: 669141

URL: http://svn.apache.org/viewvc?rev=669141&view=rev
Log:
Add the task that repackage the ivy bundle

Modified:
    ant/ivy/ivyde/trunk/build.xml

Modified: ant/ivy/ivyde/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/build.xml?rev=669141&r1=669140&r2=669141&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/build.xml (original)
+++ ant/ivy/ivyde/trunk/build.xml Wed Jun 18 04:53:00 2008
@@ -223,4 +223,17 @@
         <copy file="${baseLocation}/plugins/org.apache.ivy_2.0.0.beta2.jar" tofile="${dist.dir}/updatesite/plugins/org.apache.ivy_2.0.0.beta2.jar"
/>
     </target>
 
+    <!-- due to a bug in the packaging of Ivy, some repackaging is needed (IVY-828,IVY-802)
-->
+    <target name="install-ivy">
+        <get src="http://apache.org/dist/ant/ivy/2.0.0-beta2/apache-ivy-2.0.0-beta2-bin.zip"
usetimestamp="true" dest="apache-ivy-2.0.0-beta2-bin.zip" />
+        <mkdir dir="work-ivy/orig" />
+        <unzip overwrite="true" src="apache-ivy-2.0.0-beta2-bin.zip" dest="ivy-work/orig"
/>
+        <unzip overwrite="true" src="ivy-work/orig/apache-ivy-2.0.0-beta2/ivy-2.0.0-beta2.jar"
dest="ivy-work/unpacked" />
+        <replaceregexp file="ivy-work/unpacked/META-INF/MANIFEST.MF" match="Bundle-Version:
0\.0\.0" replace="Bundle-Version: 2.0.0.beta2" byline="true"/>
+        <jar destfile="${baseLocation}/plugins/org.apache.ivy_2.0.0.beta2.jar" manifest="ivy-work/unpacked/META-INF/MANIFEST.MF">
+            <fileset dir="ivy-work/unpacked/" />
+        </jar>
+        <delete dir="work-ivy" />
+    </target>
+
 </project>



Mime
View raw message