svn commit: r15667 - trunk/documentation/build.bat
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dthompson Date: 2008-09-01 20:51:03-0700 New Revision: 15667 Modified: trunk/documentation/build.bat Log: Added pause to build.bat file in case of failure. Modified: trunk/documentation/build.bat Url: http://argouml.tigris.org/source/browse/argouml/trunk/documentation/build.bat?view=diff&rev=15667&p1=trunk/documentation/build.bat&p2=trunk/documentation/build.bat&r1=15666&r2=15667 ============================================================================== --- trunk/documentation/build.bat (original) +++ trunk/documentation/build.bat 2008-09-01 20:51:03-0700 @@ -28,4 +28,17 @@ call %ANT_HOME%\bin\ant %1 %2 %3 %4 %5 %6 %7 %8 %9 -endlocal \ No newline at end of file +if ERRORLEVEL 1 goto endfail +endlocal + +goto EOF + +:endfail +echo. +echo Build failed +:: Wait for keypress so that error messages can be read. +:: (Helps if user double clicked this .bat file) +pause +endlocal + +:EOF \ No newline at end of file