Two hours. Wow... No, but you can check by using UPTODATE to see if any source is newer than the binaires or outputs or whatever and skip stuff as needed.
I do with our sql packaging stuff. We use a tool called DbGhost packager that is an EXE you can ship to update a database. However, the packager takes a bit of time to build. So, I use UPTODATE to see if the packager exe has an older date than and of the SQL script files. If it's not UPTODATE the packager builds, but if it is up to date I just skip that step. BOb From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com] Sent: Tuesday, August 09, 2011 11:37 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Restarting a script conditionally I'm still a bit green with Nant scripting. I have a build script that has one main target, and a ton of calls to other targets. During the build process, I'm building a client GUI, Mid Tier piece and a web service piece. At the start of the build process, there are calls to targets that pull tickets and change sets from TFS that are ready for a daily build process then writes them to a file to be included in a final report at the end of the build. There are a few other things that take place but my main concern is that if my build breaks anywhere thereafter it adds additional time to the build. Right now the whole build process takes roughly 2 hours to complete and builds both .NET and VB6 code. I'd like to be able to be able to set something in the script as a conditional and only rebuild or rerun a portion of the build process. Has anyone done anything such as this? Thank you for your time and I look forward to hearing your replies. Jim
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users