#1
|
|||
|
|||
Calling cmd in subroutine exits build on failure
Hello
I have a problem with the Run Program step. My build contains a subroutine that restores files altered during the build to their original names. I call this step even when the build fails. Under some circumstances however, some of the files are missing, and in that case, the build just ends after the failed call to cmd inside my subroutine, although I have set the step and all other steps of the subroutine to continue building if failed. I have attached a stripped version of my build file. The "Call Finalize Build Subroutine" step after the "Restore .vcproj files" step never gets called when the "Restore original .vcproj" step in the subroutine fails for some reason. Now I know there are some workarounds, but it would be good if I could get this to work the way it's currently implemented in the build script. Any help would be greatly appreciated. Cheers Ulf |
Thread Tools | |
Display Modes | Rate This Thread |
|
|