ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Replace task
Date Tue, 18 Dec 2001 23:02:46 GMT
--- Cyriaque Dupoirieux <> wrote:
> I need to delete all lines that start with the following comment :
>          # written : Date of the day
>     How can I use the replace task (or another) to make this ?

I assume "Date of the day" isn't a literal but rather would be some date,
so you're asking whether there's a regular-expression type replace task?
There is, but it's new so it's only available with 1.5 -- see:

If you need to stay with a released version of Ant, then you'd probably
need to either go with a <script> or <exec> task.



Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at
or bid at

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

View raw message