Changeset 36179


Ignore:
Timestamp:
2022-05-16T09:39:22+12:00 (5 months ago)
Author:
kjdon
Message:

if one of the compile lines fails, don't continue with the next one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/makegli.bat

    r35572 r36179  
    162162:: Sun compiler (tested with 1.5 and 1.6) didn't compile DragTreeSelectionModel.java or MetadataAuditTableModel.java automatically, so we need to put them in explicitly
    163163"%JAVACPATH%\javac.exe" %JAVACFLAGS% -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/jna.jar;lib/jna-platform.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/GathererProg.java src/org/greenstone/gatherer/util/DragTreeSelectionModel.java src/org/greenstone/gatherer/metadata/MetadataAuditTableModel.java
     164if %ERRORLEVEL% NEQ 0 goto exit
    164165"%JAVACPATH%\javac.exe" %JAVACFLAGS% -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/jna.jar;lib/jna-platform.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/WebGatherer.java
     166if %ERRORLEVEL% NEQ 0 goto exit
    165167"%JAVACPATH%\javac.exe" %JAVACFLAGS% -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/jna.jar;lib/jna-platform.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/GathererApplet.java
     168if %ERRORLEVEL% NEQ 0 goto exit
    166169:: "%JAVACPATH%\javac.exe" $JAVACFLAGS% -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/jna.jar;lib/jna-platform.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/GathererApplet4gs3.java
    167 
     170if %ERRORLEVEL% NEQ 0 goto exit
    168171:: Compile the GEMS
    169172"%JAVACPATH%\javac.exe" %JAVACFLAGS% -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/jna.jar;lib/jna-platform.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar src/org/greenstone/gatherer/gems/GEMS.java
    170 
     173if %ERRORLEVEL% NEQ 0 goto exit
    171174:: Compile the standalone programs needed on the server for remote building
    172175"%JAVACPATH%\javac.exe" %JAVACFLAGS% -d classes/ -sourcepath src/ -classpath classes/ src/org/greenstone/gatherer/remote/Zip*.java
     176if %ERRORLEVEL% NEQ 0 goto exit
    173177"%JAVACPATH%\javac.exe" %JAVACFLAGS% -d classes/ -sourcepath src/ -classpath classes/ src/org/greenstone/gatherer/remote/Unzip.java
     178if %ERRORLEVEL% NEQ 0 goto exit
    174179
    175180if "%GLILANG%" == "en" echo Done!
Note: See TracChangeset for help on using the changeset viewer.