ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Singer" <sin...@dcs-systeme.de>
Subject RE: Find and replace task
Date Mon, 11 Jun 2001 06:08:41 GMT
Note:

After changing the String's value, I must find it next time, too.
Without the possibility to specify wildcards in the "token" it will not work
:-(

Tom

|-----Original Message-----
|From: Thomas Singer [mailto:singer@dcs-systeme.de]
|Sent: Monday, June 11, 2001 7:56 AM
|To: ant-user@jakarta.apache.org
|Subject: RE: Find and replace task
|
|
|Hmm, it seams not to supporting wildcards. Am I right?
|
|Tom
|
||-----Original Message-----
||From: Erik Hatcher [mailto:erikhatcher@earthlink.net]
||Sent: Monday, June 11, 2001 7:37 AM
||To: ant-user@jakarta.apache.org
||Subject: Re: Find and replace task
||
||
||Have you had a look at the built-in <replace> task?   That
||should do the
||trick for you.
||
||    Erik
||
||
||----- Original Message -----
||From: "Thomas Singer" <singer@dcs-systeme.de>
||To: <ant-user@jakarta.apache.org>
||Sent: Sunday, June 10, 2001 10:28 PM
||Subject: Find and replace task
||
||
||> Hello,
||>
||> does anybody knows of an easy-to-use find-and-replace task,
||that I could
||use
||> to solve following problem:
||>
||> Before compiling I want to modify Java-Source-Code, so the
||current date
||> (build date) is in there:
||>
||> ...
||>     private final String BUILD_DATE = "2001-06-11";
||> ...
||>
||>
||> I know, that I can do that using properties, but I want to
||do it that way,
||> because it's harder to hack around (it's used for
||time-limited stuff).
||>
||> Regards
||> Thomas Singer
||>
||
|


Mime
View raw message