<apply>/<execon>

The <apply> task is basically an extension of the <exec> task (as you can see by the similar set of attributes listed in Table 4.6), allowing for the provision of a set of files as arguments to the executable.

Table 4.6. Table of <apply>/<execon> Attributes
Attributes Description
Required
dest (if a nested mapper is specified) The directory where the target files will be placed by the command when executed.
executable (if command not specified) The command to execute.
Optional
dir The base directory in which to execute the command.
failonerror If set to true, the build process will stop if the command exits with a return code other than 0. Defaults to false.
newenvironment If true, the old environment will not be propagated ...

Get Ant Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.