You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2009/07/18 20:31:57 UTC

svn commit: r795413 - /ant/ivy/site/xooki/antlib.xml

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">