I needed some copy related functionality which was not available in the copy
task, some of which may not be needed once named filesets are fully
available.
I have created a vcopy task which I have been using succesfully & testing
over the past month.
The differences between the vcopy task and the copy task are the following:
a) preview attribute (show what files would be copied)
b) comparedir attribute (compare basedir with comparedir, and copy changes
to todirectory. By default comparedir=todir).
c) compare files by md5hash instead of last write time (gets around issues
of incorrect datestamp of files that were touched eg via by unzipping and/or
getting from a source control).
d) if an IOException occurs when copying a particular file, then wait 30
seconds and retry before failing (sometimes a file is locked by a service
that has claimed to be fully stopped).
e) log the fileNames copied (without full path) as Level.Info

If anyone wants the code for it, send me a email.
Jonni



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to