Hi,

-----Original Message-----
From: Bret Kumler [mailto:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to