ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <>
Subject RE: escaping '&'
Date Wed, 25 Jun 2003 20:07:11 GMT
Try &amp; 

-----Original Message-----
From: Piers Dunleavy []
Sent: Wednesday, June 25, 2003 4:06 PM
To: Ant Users List
Subject: escaping '&'

I am trying to use the waitfor/http tasks with a URL that contains a
parameter string.

 <waitfor maxwait="10" maxwaitunit="second" checkevery="2"
checkeveryunit="second" timeoutproperty="disablehealth">

The build fails with this message

file:D:/jsrv/Mediaviewer/build.xml:84: The reference to entity "param2" must
end with the ';' delimiter.

It looks like ant has a problem with the '&' character but I haven't been
able to find any documentation about how to escape this character:

Does anyone know how I can send parameters to a URL using this task?


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