ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r795524 - /ant/ivy/updatesite/trunk/build.xml
Date Sun, 19 Jul 2009 12:13:00 GMT
Author: hibou
Date: Sun Jul 19 12:12:59 2009
New Revision: 795524

URL: http://svn.apache.org/viewvc?rev=795524&view=rev
Log:
Make the installation of the ivyde distrib work as there is now a folder in the zip

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

Modified: ant/ivy/updatesite/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/updatesite/trunk/build.xml?rev=795524&r1=795523&r2=795524&view=diff
==============================================================================
--- ant/ivy/updatesite/trunk/build.xml (original)
+++ ant/ivy/updatesite/trunk/build.xml Sun Jul 19 12:12:59 2009
@@ -149,9 +149,17 @@
         <!-- unzip -->
         <mkdir dir="${work.dir}/distrib" />
         <unzip src="${ivyde.zip}" dest="${work.dir}/distrib" />
+        <!-- get the path to the ivyde folder -->
+        <path id="ivyde.distrib.path.id">
+            <first count="1">
+                <fileset dir="${work.dir}/distrib" includes="*" />
+            </first>
+        </path>
+        <!-- turn the path into a property -->
+        <property name="ivyde.distrib.path" refid="ivyde.distrib.path.id" />
         <!-- install the new binaries -->
         <copy todir="${updatesite.dir}">
-            <fileset dir="${work.dir}/distrib">
+            <fileset dir="${ivyde.distrib.path}">
                 <include name="plugins/**" />
                 <include name="features/**" />
             </fileset>



Mime
View raw message