ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: replace token uses wildcard?
Date Thu, 10 Jul 2003 11:41:55 GMT
try the replaceregexp optional task.

Thursday, July 10, 2003 7:28 AM
From: "sun zheng" <>
Subject: replace token uses wildcard?

Hi all,

I want to do something like...

<replace file="aaa.xml" token="http://*/index.html"
value="http://localhost:8081/index.html" />

it does not work since token does not support such a wildcard -- * .

as u c, i want to replace any host+port in aaa.xml file to localhost:8081.
is it possible to do this by ant?

with best wishes

Zheng Sun

Add photos to your e-mail with MSN 8. Get 2 months FREE*.

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

View raw message