Hi, I think I'm correct in saying that nant will only consider an exec task to have failed if it returns anything but 0, i.e. Return Code 0 = Success.
Your wrenv.exe application must be returning 0. Hope this helps Dave On Apr 26, 6:16 am, Maddy <[email protected]> wrote: > Hi, > I have a nant script which invokes an IDE and starts the compilation > process.At the end of my compilation,it throws some errors and also > it shows "BUILD SUCCESSFULL" instead of "build failure" status. > > This is my exec task in the nant shown below > > <exec program="D:\WindRiver\wrenv.exe" failonerror="true"> > <arg value ="-p"/> > <arg value ="vxworks653-2.2.3"/> > <arg value ="run"/> > </exec> > > can anyone please explain me about this discrepency? > > Thanks and regards > Maddy
