ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: depricated "args" vs. current "arg" in java command
Date Tue, 19 Dec 2000 11:08:51 GMT
Stefan Schmitt <sschmitt@raleigh.ibm.com> wrote:

> From: "Peter Donald" <donaldp@apache.org>
> Sent: Thursday, December 14, 2000 12:59 AM
>> I think the line
>>             <arg value="-dir ${basedir}/${build.dir}"/>
>> should be split into 2 lines
>>             <arg value="-dir"/>
>>             <arg value="${basedir}/${build.dir}"/>
> 
> I don't think so. This separates the "-dir ${basedir}/${build.dir}"
> command into two commands ("-dir" and "${basedir}/${build.dir}").

well, you are right, and I can't remember the original post, but Pete's
version would be the analog of the old args attribute with 
args="-dir ${basedir}/${build.dir}". The args attribute splits the
arguments at spaces - as well as the line attribute of <arg>.

Stefan

Mime
View raw message