ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Problem with the exec task
Date Tue, 19 Sep 2000 06:37:18 GMT
>>>>> "DB" == David Bennett/Toronto/IBM <dbennett@ca.ibm.com> writes:

 DB> Yes, they both work.

OK.

The executable attribute should be used to hold the name of the program
and nothing else, so when you say executable="cmd /c dir" Windows will
try to launch a program with that name.

As it is legal to have spaces in the name of an executable (especially
in the path to it execute="c:\Program Files\...") and/or the
arguments to a program, we've deprecated the old command attribute in
favor of executable and nested arg elements which let the user
separate them clearly.

Stefan

Mime
View raw message