ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Putting markup in the message of an echo task
Date Mon, 24 Sep 2007 07:36:53 GMT


-----Original Message-----
From: boomdizzle [] 
Sent: Monday, September 24, 2007 7:22 AM
Subject: Putting markup in the message of an echo task


I want to echo html to a file from an ant script. Obviously, this is not

<echo file="${filename}" message="<p>@{latest.error}" append="true"/>

I get the error: The value of attribute "message" associated with an
type "echo" must not contain the '<' character.
[ ... ]

for ant 1.6.5, means ant version < 1.7.x simply use =

<echo ...>

and no masking required.

for ant 1.7.x use =

the same as above or 
<echoxml>, as Jan already mentioned

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message