ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Adams" <>
Subject Re: The build directory
Date Fri, 29 Jun 2001 21:00:24 GMT
Thanks for the replies.

It appears that the main reason for copying is to filter and replace tokens.  If that's true,
doesn't it make more sense to simply use the Replace task?  Then, since the filtering's been
taken care of, just compile with the srcdir attribute set to your source directory, and the
destdir attribute to the build directory.

Was the Replace task not available in earlier versions of Ant, necessitating the Copy workaround,
or is there a performance advantage to filtering via Copy rather than Replace?


View raw message