Troy, Yes, it possibly would work if the uptodate task were removed entirely.... I would just need to add a check to ensure that the source folder is present (it isn't always, but uptodate appears to take care of that).
The <copy> task seems to be working as I expect, so I have no concerns about that. Regards, Richard -----Original Message----- From: Troy Laurin [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 04:54 To: Foster, Richard - PAL Cc: [email protected] Subject: Re: [Nant-users] Uptodate task and newly added files. > Unfortunately, while this works well when files in SourceFolder1 and > SourceFolder2 which exist in "lib" are updated, if the file does not > already exist in the "lib" folder dependencies.uptodate is still set to True. > > Is this a bug, or am I misusing <uptodate>? If I'm misusing it, is > there any way to accomplish what I need, without *requiring* that > files are always copied? Incidentally, does this work as you desire if you remove the <uptodate> entirely? The <copy> task will only copy newer files if the overwrite attribute is "false", which is the default value. -- Troy ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ Nant-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
