ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Question using @ in exec/arg
Date Fri, 13 Apr 2007 06:04:45 GMT
 
Hi,


-----Original Message-----
From: Bret Kumler [mailto:bkumler@goldengate.com] 
Sent: Thursday, April 12, 2007 7:47 PM
To: Ant Users List
Subject: Question using @ in exec/arg

/*
I'm going to use p4 sync @labelname and I was wondering if the @ sign
will work in the following task.
[ ... ]

Do I have to single quote the @ sign? 
*/

I think you have to mask via @@, i.e. see ant manual
.../manual/CoreTasks/macrodef.html =

"...
The escape sequence @@ is used to escape @. This allows @{x} to be
placed
in the text without substitution of x by using @@{x}. This corresponds
to the $$
escape sequence for properties. 
...
"

Regards, Gilbert

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


Mime
View raw message