ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Ant Wiki] Updated: AntOddities
Date Sun, 20 Jun 2004 10:43:16 GMT
   Date: 2004-06-20T03:43:16
   Editor: <>
   Wiki: Ant Wiki
   Page: AntOddities

   no comment

Change Log:

@@ -1,22 +1,15 @@
-== <exec> arguments not expanded under Linux ==
+== expanding wildcards <exec> arguments ==
-Wildcards in <exec> arguments are not expanded under Linux, in particular the asterisk,
for example to indicate filenames. You can verify with the following simple target:
+Wildcards are understood by shell intepreters, not by individual command line programs
+individually such as ls.
 {{{<target name="list">
-  <exec executable="ls">
+  <exec executable="sh">
+    <arg value="ls">
     <arg value="/path/to/some/xml/files/*.xml"/>
-The result of the previous target is:
-{{{Buildfile: build.xml
-     [exec] /usr/bin/ls: /path/to/some/xml/files/*.xml: No such file or directory
-     [exec] Result: 1}}}
-I do not know of any workable solution yet.
 ''Giulio Piancastelli''

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message