ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Callaghan, Tom" <TomCallag...@roberthalf.co.uk>
Subject RE: Switches in Java
Date Tue, 22 Jan 2002 17:03:55 GMT
Great, that clears things up.  Much appreciated.

Tom

> -----Original Message-----
> From:	Stefan Bodewig [SMTP:bodewig@apache.org]
> Sent:	22 January 2002 16:51
> To:	ant-user@jakarta.apache.org
> Subject:	Re: Switches in Java
> 
> 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>

--
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