ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@goldengate.com>
Subject RE: Question using @ in exec/arg
Date Fri, 13 Apr 2007 14:44:18 GMT
Thank you.

-----Original Message-----
From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] 
Sent: Thursday, April 12, 2007 11:05 PM
To: Ant Users List; Bret Kumler
Subject: RE: Question using @ in exec/arg

 
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



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.3.0/758 - Release Date: 4/12/2007 11:52 AM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.3.0/758 - Release Date: 4/12/2007 11:52 AM
 

This e-mail message and any attachments may contain private, confidential, proprietary or
privileged material of GoldenGate Software, Inc. that is for the sole use of the intended
recipient(s) of this e-mail message.  Any review, copying or distribution or other use of
this e-mail message or any attachments hereto by anyone other than the intended recipient(s)
is strictly prohibited.  If you are not the intended recipient(s) of this e-mail message,
please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete
the original e-mail message and any copies of this e-mail message and all attachments, if
any.


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


Mime
View raw message