Hello,

 

I've got a little problem: I have to use Windows DDK's tools as
build.exe for building some older project. The problem is that build.exe
needs to run a script called "setenv.bat" where can be found a lot of
env. settings etc. Normally it works as follows:

 

-          winddk installer created shortcut in start menu to
"C:\WINNT\system32\CMD.EXE /k C:\NTDDK\bin\setenv.bat C:\NTDDK free"

-          this runs "improved console" where I change the directory to
my project

-          then type "build /cZ"

-          my project is built

 

My question is: it's possible to automate this thing using Nant? I can't
run setenv.bat and then build.exe separately since I need that env
variables (they are lost if I use two exec tasks).

 

Thank you for any help...

 

Regards,

Miro Kropacek

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to