ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: Is there an ANT task to replace a <TAG:filename> in the source with the contents of the specified file???
Date Mon, 19 Dec 2005 20:32:42 GMT
Hello,

--- Petar Tahchiev <paranoiabla@gmail.com> wrote:
> I am not quite sure that I understood your ideas
> clearly enough to answer
> this, but I would like to suggest you this: why not
> just use
> <filter token="<TAG:xxxx>"
> value="${property.Containg.The.Desired.String}"/>

In XML files you have to escape < and > with &lt; and
&gt;. So your example will look like:
<filter token="&lt;TAG:xxxx&gt;"
    value="${property.Containg.The.Desired.String}"/>

Regards
Ivan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message