> Hello Friends, > > In my NAnt script, I am calling one child Nant script which generate one > dll(lets say abc.dll) now I don't want to create/recompile it every time. > > Shall i go with > 1. file::get-last-access-time > 2. file::up-to-date > > or is there any otherway to solve this problem ? > > help me for the same.
up-to-date is more the kind of thing you want... verify if some file has changed more recently than another file. The file::up-to-date function only compares single files, though. The <uptodate> task can be used to compare if any source file has been modified since the dll was last generated... see http://nant.sourceforge.net/release/latest/help/tasks/uptodate.html for details. Regards, -- Troy ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users