ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r795413 - /ant/ivy/site/xooki/antlib.xml
Date Sat, 18 Jul 2009 18:31:57 GMT
Author: hibou
Date: Sat Jul 18 18:31:56 2009
New Revision: 795413

URL: http://svn.apache.org/viewvc?rev=795413&view=rev
Log:
Allow xooki to work on several filesets

Modified:
    ant/ivy/site/xooki/antlib.xml

Modified: ant/ivy/site/xooki/antlib.xml
URL: http://svn.apache.org/viewvc/ant/ivy/site/xooki/antlib.xml?rev=795413&r1=795412&r2=795413&view=diff
==============================================================================
--- ant/ivy/site/xooki/antlib.xml (original)
+++ ant/ivy/site/xooki/antlib.xml Sat Jul 18 18:31:56 2009
@@ -6,10 +6,12 @@
         <attribute name="checkUpToDate"/>
         <attribute name="printerFriendly"/>
         <![CDATA[
-            importClass(java.io.File);
+        importClass(java.io.File);
 
-            fs = elements.get("fileset").get(0);
-            srcDir = elements.get("fileset").get(0).getDir(project);
+        filesets = elements.get("fileset")
+        for (j=0; j<filesets.size(); j++) {
+            fs = filesets.get(j);
+            srcDir = fs.getDir(project);
 
             // Get the files (array) of that fileset
             ds = fs.getDirectoryScanner(project);
@@ -51,6 +53,7 @@
                 }
                 exec.perform();
             }
+        }
         ]]>
     </scriptdef>
     <scriptdef name="print" language="javascript">



Mime
View raw message