Show
Ignore:
Timestamp:
01.05.2009 14:55:20 (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.sh

    r17946 r19305  
    187187 
    188188# GS2 only requires -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar. GS3 requires more but it doesn't conflict with GS2: 
    189 $javapath -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/commons-codec-1.3.jar:lib/commons-httpclient-3.1-rc1.jar:lib/commons-logging-1.1.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone $* 
     189if [ ! -d "${thisdir}/gs2build" ]; then 
     190    $javapath -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/commons-codec-1.3.jar:lib/commons-httpclient-3.1-rc1.jar:lib/commons-logging-1.1.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone $* 
     191else 
     192    $javapath -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/commons-codec-1.3.jar:lib/commons-httpclient-3.1-rc1.jar:lib/commons-logging-1.1.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone -gsdl "${thisdir}/gs2build" $* 
     193fi 
    190194 
    191195if [ "$glilang" = "es" ]; then