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

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,12 +1,11 @@
 == expanding wildcards <exec> arguments ==
 
-Wildcards are understood by shell intepreters, not by individual command line 
programs
-individually such as ls.
+Wildcards are understood by shell intepreters, not by individual binary 
executables as /usr/bin/ls or shell scripts.
 
 {{{<target name="list">
   <exec executable="sh">
-    <arg value="ls">
-    <arg value="/path/to/some/xml/files/*.xml"/>
+    <arg value="-c">
+    <arg value="ls /path/to/some/xml/files/*.xml"/>
   </exec>
 </target>}}}
 

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

Reply via email to