From c563ee7eba6244cb5886269fbe72e43927a7a187 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig Command line arguments should be specified as nested
By default the file names of the source files will be added to the
+end of the command line. If you need to place it somewhere different,
+use a nested It is possible to specify environment variables to pass to the
system command via nested <arg>
elements. See Command line arguments.srcfile
+<srcfile> element between your
+
<arg>
elements to mark the insertion point.env
<env>
elements. See the
@@ -2194,6 +2199,19 @@ description in the section about exec/tmp
not ending in .txt
and all
files of the FileSet with id
other.files
to
the command line.
++<execon executable="somecommand" parallel="false" > + <arg value="arg1" /> + <srfile/> + <arg value="arg2" /> + <fileset dir="/tmp" /> +</execon> +
invokes somecommand arg1 SOURCEFILENAME arg2
for each
+file in /tmp
replacing SOURCEFILENAME with the absolute
+filename of each file in turn. If parallel
had been set
+to true, SOURCEFILENAME would be replaced with the absolute filenames
+of all files separated by spaces.
The value part of the property being set is true if the timestamp of the target files is more recent than the timestamp of every corresponding source file.
-The default behavior is to use a merge
+ The default behavior is to use a merge
mapper whith the Normally, this task is used to set properties that are useful to avoid target
to
attribute set to the value of the
targetfile attribute.