The apply task has special processing for arguments to the command to
execute. This allows it to be used sort of like a "make" rule to
compile .c files into .o files. The apply task compares modification
dates and only runs if the target files are out of date.
The execon always executes the specified command (as long as the OS
matches).
Suu Quan wrote:
>
> In reading the manual, I don't see any reason, subtle or not why I should
> use one over the other.
>
> In additon I found this to be not true
>
> Parameters specified as nested elements
> ...
> env
> ...
> Please note that the environment of the current Ant process is NOT passed to
> the system command if you specify variables using <env>
>
> I did insert this line
> <env key="XX" value="see no evil"/>
> just to see if the environment is preserved: it is, all the environment
> variables exist in the subprocess and have the same values.
--
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering
Health Language, Inc. -- "We speak the language of healthcare"
A subsidiary of CyberPlus Corp.
970/626-5028 (office) mailto:[EMAIL PROTECTED]
970/626-4425 (fax) http://www.healthlanguage.com