I have a small issue in a nant build file.
Brief : we have a 2 build files EX (web and DB) which are independent and called seqentially..
nant -buildfile:web.build
nant - buildfile:db.build
To save time we are building it in parallel by adding a bat file and inside bat file we call both web & db
< exec program="parallel.bat" >
parallel.bat :
start web.bat
start db.bat
web.bat :
nant -buildfile:web.build
db.bat
nant - buildfile:db.build
it works fine but the concern is if there is any failure in web.bat or db.bat ... the build continues calling the remaining targets present in the main build file, without exiting .
Is there any way to stop the build if there is any failure or can we achieve the parallelism of web and db without using batch files (is there any task in nant ). we use MSBuild to build the web
Thanks,
Vishal