Bill,

        Wouldn't your approach invoke:

   <exec program="devenv.com" commandline='libZ.vcproj /build
${build.config}'/>

        even if libZ were up to date? Is this a bad thing? It seems so
from an efficiency standpoint. In comparison to make, it seems to me
that most NAnt scripts I've seen seem to do more work than the makefile
even though it is expressed much more compactly.

        I think maybe I don't "get" something about the dependency model
of NAnt. Do tasks like cl somehow automatically check dependencies and
execute only when necessary? Or does it just invoke the compiler on
everything. I understand the depends attribute of target, but is there
some other nonobvious dependency checking going on somewhere in the
bowels of NAnt? How does this work?

-Kelly

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Arnette

btw, i would recommend being careful with the <call> task.  it tends to
produce a more rigid call chain and can lead to redundant task calls.
cheers,
owen.
--
Owen Rogers | http://dotnetjunkies.com/weblog/exortech |
CruiseControl.NET - http://ccnet.thoughtworks.com


<Bill>
<target name="libX" depends="get-libX-source>
   <!-- build libX -->
   <exec program="devenv.com" commandline='libX.vcproj /build
${build.config}'/>
</target>






E-Mail messages may contain viruses, worms, or other malicious code. By reading 
the message and opening any attachments, the recipient accepts full 
responsibility for taking protective action against such code. Sender is not 
liable for any loss or damage arising from this message.

The information in this e-mail is confidential and may be legally privileged. 
It is intended solely for the addressee(s). Access to this e-mail by anyone 
else is unauthorized.



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to