The docs could use a tad more detail:
http://nant.sourceforge.net/help/tasks/exec.html

Fortunately, this came to my aid.
http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg05320.ht
ml

This is an OK solution for a limited # of execs, or a set of execs I can
kick of via foreach, but if I have to change variables between calls,
and the calls aren't ordered the same or aren't the same, it makes for
some long, repetitive sections. And since properties are immutable, I
don't think I can create the limited sets of <call>, set some values,
and make the calls?

Any sneaky/devious folk out there want to wade in (offlist is OK too)?
:)

Eric D


> -----Original Message-----
> From: Castro, Edwin Gabriel (Firing Systems Engr.)
[mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 12:55 PM
> To: Merrill Cornish; Eric Deslauriers; NAnt Users mailing list
> Subject: RE: [Nant-users] Creating/setting env variables
> 
> .NET can, on the other hand, start a process with particular
environment
> variables set. The <exec> task has an <environment> element for this
> purpose. I use it to call devenv.exe and set the appropriate PATH,
> INCLUDE, and LIB environment variable for that execution only.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to