Changeset 19307

Show
Ignore:
Timestamp:
01.05.2009 16:38:00 (10 years ago)
Author:
ak19
Message:

Download panel should be available in client-gli if there's a gs2build folder inside the client-gli checkout. In such a case, the gsdl flag is set to the gs2build folder, and gli is launched with it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/client-gli.bat

    r17947 r19307  
    166166:: -Xloggc:<file>   Write garbage collection log 
    167167 
     168 
     169:: if there is a gs2build directory inside client-gli, set the gsdl flag to it 
     170if not exist gs2build\nul goto :nogsdl 
     171    "%JAVAPATH%\java" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone -gsdl %~dp0gs2build %1 %2 %3 %4 %5 %6 %7 %8 %9 
     172    goto finish 
     173 
     174:nogsdl 
    168175"%JAVAPATH%\java" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/qfslib.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone %1 %2 %3 %4 %5 %6 %7 %8 %9 
    169176 
     177:finish 
    170178if "%GLILANG%" == "en" echo Done! 
    171179if "%GLILANG%" == "es" echo ­Hecho!