ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Switches in Java
Date Tue, 22 Jan 2002 16:51:17 GMT
On Tue, 22 Jan 2002, Tom Callaghan <TomCallaghan@roberthalf.co.uk>
wrote:
> Is a switch followed by an argument counted as one, or are they both
> separate?

Depends on whether you use the value or the line attribute.

<arg value="-port" />
<arg value="7002" />

is equivalent to

<arg line="-port 7002" />

and makes two arguments from it.  On the other hand

<arg value="-port 7002" />

would make it a single argument.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message