ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: using -D option with embedded '=' char in value
Date Fri, 04 Jul 2003 10:05:42 GMT
-Dp=Hello			works
-Dp=Hello World		no
-Dp="Hello World" 	works
-Dp=Hello=World		no

-Dp="Hello=World"		works


Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Chris Doran [mailto:cdoran@pts.com]
> Gesendet am: Freitag, 4. Juli 2003 12:15
> An: user@ant.apache.org
> Betreff: using -D option with embedded '=' char in value
> 
> Hi All
> 
> I'm trying to set a property on the command line:
> 
> ant -Dpropname=propvalue
> 
> but when propvalue contains an embedded '=' character, I get 
> a failure as 
> ant thinks the text following the embedded '=' char is a 
> target. Is this a 
> bug ? Can I escape the embedded char ? It worked ok in 1.4.x.
> 
> Thanx
> 
> Chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message