We have done that in the past.  We used the updtodate task.  The Resources, Sources, and References were placed in filesets.   Then as a pretarget to the build, we checked each fileset against the compile target using uptodate.  The compile target would only execute if the uptodate property was true.  We also took manual control of setting the version numbers in the compile target.  The getup was a bit of pain to set up, but overall, I liked the feel of it.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Kemp
Sent: Thursday, August 11, 2005 6:40 AM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Differential builds

 

I am developing a process to create true differential builds.  My definition of a differential build is compiling only assemblies that really need to be recompiled.  This requires looking at more than the datetime of the dependencies of an assembly.  I need to know if any public members have changed and then signal any referring assemblies that they need to recompile.  I think ant has a task <depend> that kind of accomplishes this.  Has anyone tried accomplishing this with NAnt?  It seems that this concept is contradictory to most build environments.  Reliance on datetimes and cleaning build environments seem to be assumed the norm.

 

Joe A. Kemp

CapWIN Senior Systems Architect

6305 Ivy Lane Suite 300

Greenbelt, MD 20770

(P) 301-614-3727

(F) 301-614-0581

 

Reply via email to