ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant-...@apache.org
Subject [Ant Wiki] Updated: AntOddities
Date Sun, 20 Jun 2004 23:22:47 GMT
   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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message