Changeset 18408

Show
Ignore:
Timestamp:
21.01.2009 13:15:30 (11 years ago)
Author:
ak19
Message:

As long as GLI exits with a 2 (as happens when it needs to restart upon changing the interface language), it loops on the localLib or webLib--whichever of the two was originally launched.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.bat

    r18407 r18408  
    376376:webLib 
    377377    "%JAVA_EXECUTABLE%" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -gsdlos %GSDLOS% -perl %PERLPATH% %1 %2 %3 %4 %5 %6 %7 %8 %9 
    378     if ERRORLEVEL 2 if not "%localLibFailed%" == "true" ( 
    379         echo webLib failed, going to localLib 
    380         set webLibFailed=true 
    381         goto localLib 
     378    if ERRORLEVEL 2 ( 
     379        goto webLib 
    382380    ) 
    383381    goto finRun  
     
    385383:localLib 
    386384    "%JAVA_EXECUTABLE%" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -gsdlos %GSDLOS% -perl %PERLPATH% -local_library %GSDLHOME%\server.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 
    387     if ERRORLEVEL 2 if not "%webLibFailed%" == "true" ( 
    388         echo localLib failed, going to webLib 
    389         set localLibFailed=true 
    390         goto webLib 
     385    if ERRORLEVEL 2 ( 
     386        goto localLib 
    391387    ) 
    392388    goto finRun