ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Abley <james.ab...@volantis.com>
Subject RE: Quotations in a property get corrupted when passed as an arg
Date Wed, 13 Apr 2005 07:25:35 GMT
On Tue, 2005-04-12 at 12:36, Oski Wee wrote:
> >temp.cmd argument^ that^ has^ a^ literal^ ^"^ as^ part^ of^ its^ value
> >
> >The above is properly treated as 1 argument.
> 
> Actually, turns out that the ^ does not even work from the command prompt.
> 
> I guess I can try doing this:
> temp.cmd "argument that has a literal "" as part of its value"
> 
> as a close approximation.  I'll just have to do some additional processing 
> in my script to change the pair to a single instance "" -> ".
> 
> Can anyone suggest a better way to pass an argument that has spaces and 
> quote marks in it?
> 
> Thanks
> 
> 

<property name="arg.one" value='argument that has a literal " as part of
its value' />

James

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


Mime
View raw message