Re: Is there a template/example for this setup?
Bob Archer <[email protected]> Fri, 13 May 2011 14:37:37 -0400
| Newsgroups | gmane.comp.windows.dotnet.nant.user |
|---|---|
| Message-ID | <[email protected]> |
Its really as simple as comparing the current binary to the sourcecode using <uptodate> and only building a project if needed? I do that in my own builds. We have a tool that builds a database packager. I only build a new packager exe if any of the SQL schema source files have newer dates than the current packager exe. As a matter of fact, most compiler has a built in mode that will do this, don't they? BOb From: Chris Fouts [mailto:[email protected]] Sent: Friday, May 13, 2011 12:41 PM To: [email protected] Subject: Re: [NAnt-users] Is there a template/example for this setup? Thanks, but I don't have time to delve into yet another tool now, though I did d/l the app and perused through it a little. One thing that will help is if I can setup a nant target that checks for modifications on a certain folder, similar to the filtered <sourcecontrol> element of ccnet. -chris From: Bob Archer [mailto:[email protected]] Sent: Friday, May 13, 2011 9:37 AM To: Chris Fouts; [email protected] Subject: RE: Is there a template/example for this setup? CI Factory's scripts do this. IIRC he creates a text file with any changed files to determine if the project needs to be built. While I don't use CI Factory anymore I got several ideas from it and learned quite a few nant tricks. Even if you don't use it, setting it up and looking at the scripts is quite eye opening. http://cifactory.org/joomla/ BOb From: Chris Fouts [mailto:[email protected]] Sent: Friday, May 13, 2011 9:15 AM To: [email protected] Subject: [NAnt-users] Is there a template/example for this setup? This is a common architecture so I'm hoping someone's done this before. Say I have a Windows project with 2 components, each component in its on directory, like so: ProjectA Component1 File1.h File1.cpp File1.sln Component2 File2.h File2.cpp File2.sln I only want to build a component if a file changed in its corresponding folder. This entails that I have to: - Check for changes in the component directory with our SCM tool (sadly, Starteam in our case) - If changes exist, check out the changes - Build the solution file Then if and only if ALL components build, I do - Check in files - Label files -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If you have received this message in error or are not the named recipient(s), please immediately notify the sender, delete this e-mail message without making a copy and do not disclose or relay this e-mail message to anyone.*** ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ NAnt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users