Date: 2004-06-20T16:22:47
   Editor: 213.209.199.223 <>
   Wiki: Ant Wiki
   Page: AntOddities
   URL: http://wiki.apache.org/ant/AntOddities

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,6 +1,6 @@
-== expanding wildcards <exec> arguments ==
+== Expanding wildcards in <exec> arguments ==
 
-Wildcards are understood by shell intepreters, not by individual binary 
executables as /usr/bin/ls or shell scripts.
+Under Linux, wildcards are understood by shell intepreters, not by individual 
binary executables as /usr/bin/ls or shell scripts.
 
 {{{<target name="list">
   <exec executable="sh">
@@ -9,6 +9,14 @@
   </exec>
 </target>}}}
 
+Under Windows, instead, you can expect wildcards to be understood even without 
the need of invoking the cmd interpreter.
+
+{{{<target name="compile-groovy-scripts">
+  <exec executable="groovy.bat">
+    <arg value="C:/path/to/scripts/*.groovy"/> 
+    <arg line="-d C:/path/to/classes/destination"/>
+  </exec>
+</target>}}}
 
 ''Giulio Piancastelli''
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to