ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Regular Expression Substitution
Date Mon, 06 Nov 2000 08:29:17 GMT
>>>>> "DH" == Diane Holt <holtdl@yahoo.com> writes:

 DH> --- Harry Rusli <hsrusli@yahoo.com> wrote:
 >> Does anyone knows how can I rename a set of files [...] in Ant.

 DH> Well, there is the <rename> task :)
 DH> http://jakarta.apache.org/ant/jakarta-ant/docs/#rename But it
 DH> looks like it can only do one file -- maybe it could be improved
 DH> to work with file-sets?

No, not really. <rename> is deprecated, use <move> (which works on
filesets).

But the problem Harry is facing cannot be resolved with this, at least
not yet. Expect a solution for this problem based on the current
<move> task and jakarta-regexp in Ant 1.3.

Stefan

Mime
View raw message