Skip to Content.
Sympa Menu

notify-dpml - r2008 - in trunk: . main

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r2008 - in trunk: . main
  • Date: Wed, 8 Aug 2007 10:44:19 +0200

Author: mcconnell
Date: 2007-08-08 10:44:19 +0200 (Wed, 08 Aug 2007)
New Revision: 2008

Modified:
trunk/main/bootstrap.bat
trunk/release.bat
trunk/snapshot.bat
Log:
Update the bootstrap, snapshot and release build scripts to handle non-zero
response codes.

Modified: trunk/main/bootstrap.bat
===================================================================
--- trunk/main/bootstrap.bat 2007-08-08 08:14:57 UTC (rev 2007)
+++ trunk/main/bootstrap.bat 2007-08-08 08:44:19 UTC (rev 2008)
@@ -18,17 +18,17 @@
CALL :antlib-cleanup
rem IF ERRORLEVEL 1 GOTO :exit
CALL :transit-main
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit
CALL :dpml-metro-part
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit
CALL :dpml-depot-library
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit
CALL :dpml-util-cli
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit
CALL :dpml-depot-build
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit
CALL :dpml-depot-builder
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit

rem
rem Depot build tool is now available.
@@ -47,7 +47,7 @@


:exit
-IF ERRORLEVEL 1 ECHO BOOTSTRAP FAILED
+IF NOT ERRORLEVEL 0 ECHO BOOTSTRAP FAILED
GOTO :EOF

:antlib-cleanup

Modified: trunk/release.bat
===================================================================
--- trunk/release.bat 2007-08-08 08:14:57 UTC (rev 2007)
+++ trunk/release.bat 2007-08-08 08:44:19 UTC (rev 2008)
@@ -20,7 +20,7 @@
CALL bootstrap
POPD
CD
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit

REM
REM execute the build of the runtime systems using the bootstrap artifacts
@@ -30,7 +30,7 @@
CALL build clean install -decimal
POPD
CD
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit

REM
REM build the tutorials using the resources established from the general
system build
@@ -40,6 +40,7 @@
CALL build clean install
POPD
CD
+IF NOT ERRORLEVEL 0 GOTO :exit

REM
REM build the documentation
@@ -49,6 +50,7 @@
CALL build clean install -decimal
POPD
CD
+IF NOT ERRORLEVEL 0 GOTO :exit

GOTO :EOF


Modified: trunk/snapshot.bat
===================================================================
--- trunk/snapshot.bat 2007-08-08 08:14:57 UTC (rev 2007)
+++ trunk/snapshot.bat 2007-08-08 08:44:19 UTC (rev 2008)
@@ -19,7 +19,7 @@
PUSHD main
CALL bootstrap
POPD
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit

REM
REM execute the build of the runtime systems using the bootstrap artifacts
@@ -28,7 +28,7 @@
PUSHD main
CALL build clean install
POPD
-IF ERRORLEVEL 1 GOTO :exit
+IF NOT ERRORLEVEL 0 GOTO :exit

REM
REM build the tutorials using the resources established from the general
system build
@@ -37,6 +37,7 @@
PUSHD tutorials
CALL build clean install
POPD
+IF NOT ERRORLEVEL 0 GOTO :exit

REM
REM build the documentation
@@ -45,7 +46,8 @@
PUSHD central
CALL build clean install
POPD
-
+IF NOT ERRORLEVEL 0 GOTO :exit
+ECHO SNAPSHOT SUCCESSFULL
GOTO :EOF

:exit




  • r2008 - in trunk: . main, mcconnell at BerliOS, 08/08/2007

Archive powered by MHonArc 2.6.24.

Top of Page