Changeset 25939

Show
Ignore:
Timestamp:
12.07.2012 17:35:11 (7 years ago)
Author:
ak19
Message:

Added in the code for restarting GLI for GS3 on Windows after language preferences have changed. It already worked on Linux for GS2 and GS3 and on Windows for GS2.

Files:
1 modified

Legend:

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

    r25682 r25939  
    157157 
    158158:: Run GS3 if version = 3 
    159 if "%_VERSION%" == "3" "%JAVA_EXECUTABLE%" -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -gsdl3 "%GSDL3HOME%" -gsdl3src "%GSDL3SRCHOME%" -perl "%PERLPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9 
    160 if "%_VERSION%" == "3" goto finRun 
     159:rungs3 
     160    if "%_VERSION%" == "3" "%JAVA_EXECUTABLE%" -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar;lib/rsyntaxtextarea.jar org.greenstone.gatherer.GathererProg -gsdl "%GSDLHOME%" -gsdlos %GSDLOS% -gsdl3 "%GSDL3HOME%" -gsdl3src "%GSDL3SRCHOME%" -perl "%PERLPATH%" %1 %2 %3 %4 %5 %6 %7 %8 %9 
     161    if ERRORLEVEL 2 ( 
     162        goto rungs3 
     163    ) 
     164    if "%_VERSION%" == "3" goto finRun 
    161165 
    162166:: Run GS2 since version is 2: