ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suncire, Joe" <Joe.Sunc...@qwest.com>
Subject testing for update on filter file
Date Fri, 28 Jun 2002 14:19:01 GMT
I'm using the copy task in conjunction with an external filter file.   I
understand that if copy task detects if one of the source files is newer
than the target file, it will copy the source file to the target, otherwise
it will not copy the source file.  

What I'm looking to do is trigger a copy of the source files, based on
whether my filter file changed.  In other words, even if my source files
haven't changed, if something in the file filter changes, I want the source
files to be re-parsed with the tokens in the filter file and copied to the
target directories.

How do I detect that the filter file has changed and how do I subsequently
trigger a copy on the source files?

using Ant 1.4.1


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message