How in ant use "<" in text?

When you want to use characters which stand for predefined standard entities in attribute value or text, you must write it as entity.

Predefined entity covers ” ‘ < > &

In your case you have to write

replaceregexp match="app_name&quot;&gt;(.*)&lt;"

(The single quot limits the attribute value here, when a single quote appear IN the value you have to use the entity ‘)

Browse More Popular Posts

Leave a Comment