ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Tewksbury" <te...@adhesive.com>
Subject ReplaceMultiple Task
Date Tue, 16 May 2000 16:32:20 GMT
Greetings,

I have included a new taskdef for replacing a string in all files in a
directory and subdirectories.  It is generally based on the Replace task.

Usage:
    <replacemultiple
	basedir="${some.dir}"
	token="lookForTerm"
	value="replaceWithTerm"
     />

It actually extends MatchingTask vice Task and the default.properties file
would be modified by adding:
	replacemultiple=org.apache.tools.ant.taskdefs.ReplaceMultiple

Being relatively new to ANT, I'm not sure if this taskdef has already been
built and is awaiting inclusion but since I can't find one in the
repository, I am sending this out for review.

- Charles W. Tewksbury



Mime
View raw message