ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <sq...@wwc.com>
Subject Re: apply task vs execon task
Date Sun, 27 May 2001 04:24:41 GMT
----- Original Message -----
> 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.

    Thanks Larry
re, re, re-reading the manual, there is no way I can arrive at the
conclusion above.

> 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:streepy@healthlanguage.com
> 970/626-4425 (fax)              http://www.healthlanguage.com


Mime
View raw message