Bob,
Doesn't the <uptodate> task work in your scenario?
(http://nant.sourceforge.net/release/latest/help/tasks/uptodate.html)
I have run into some issues with it from time to time, but generally
speaking it seems to work OK.
Regards,
Richard
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
Sent: Friday, August 24, 2007 5:13 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Any files changed
Can anyone think of an easy way to tell if any files have changed in a
folder? My build script has a target that calls DbGhost to build our
database from the source script files. However, it takes a few minutes.
So, I only want to run the target if any of the sql files have changed
since the last build.
All ideas appreciated.
Thanks,
BOb
* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or
entity to whom it is addressed. If you have received this communication in
error, be aware that forwarding it, copying it, or in any way disclosing its
content to any other person, is strictly prohibited. Quixote Traffic
Corporation is neither liable for the contents, nor for the proper, complete
and timely transmission of (the information contained in) this communication.
If you have received this communication in error, please notify the author by
replying to this e-mail immediately and delete the material from any computer.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users