You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by Apache Wiki <wi...@apache.org> on 2008/02/25 17:52:42 UTC
[Ant Wiki] Update of "AntSampleFiles/ApplyRedirectorExample" by peterreilly
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ant Wiki" for change notification.
The following page has been changed by peterreilly:
http://wiki.apache.org/ant/AntSampleFiles/ApplyRedirectorExample
------------------------------------------------------------------------------
By default, the apply task passes the source file name as a command line argument to its executable for each execution. We need to inhibit this behavior for this example by setting the addsourcefile attribute false, so that `cat` will take input from the input redirect instead of reading the named file. (The result would be the same in this case, but we're trying to demonstrate input redirect.)
+
+ *Note* One can use <globmapper> instead of <mapper type="glob">, and with this one can use the "handledirsep" attribute.
+