Changeset 23590 for main/trunk/gli/client-gli.sh
- Timestamp:
- 2011-01-14T18:47:45+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/client-gli.sh
r19769 r23590 16 16 PROGFULLNAME=$PROGNAME 17 17 fi 18 export PROGNAME 19 export PROGFULLNAME 18 20 19 21 if [ "x$PROGABBR" = "x" ] ; then 20 PROGABBR=" GLI"22 PROGABBR="Client-GLI" 21 23 fi 24 export PROGABBR 22 25 23 26 if [ "x$PROGNAME_EN" = "x" ] ; then 24 PROGNAME_EN="Greenstone Librarian Interface "27 PROGNAME_EN="Greenstone Librarian Interface - Remote Client" 25 28 fi 29 export PROGNAME_EN 26 30 27 31 # we're running GLI (or FLI) in client mode … … 132 136 # -Xloggc:<file> Write garbage collection log 133 137 138 # -Xdock:name To set the name of the app in the MacOS Dock bar 139 # -Xdock:icon Path to the MacOS Doc icon (not necessary for GS) 140 custom_vm_args="" 141 if [ "$GSDLOS" = "darwin" ]; then 142 custom_vm_args="-Xdock:name=$PROGABBR" 143 fi 144 134 145 # GS2 only requires -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar. GS3 requires more but it doesn't conflict with GS2: 135 146 if [ "$local_gs" = "false" ]; then 136 147 echo "Since there's no GSDLHOME, client-GLI's download panel will be deactivated." 137 148 echo 138 $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 $*149 $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 $custom_vm_args org.greenstone.gatherer.GathererProg -use_remote_greenstone $* 139 150 else 140 151 gsdlos=`uname -s | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` … … 146 157 echo "Downloading is enabled." 147 158 echo 148 $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 "$GSDLHOME" -gsdlos $gsdlos $*159 $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 $custom_vm_args org.greenstone.gatherer.GathererProg -use_remote_greenstone -gsdl "$GSDLHOME" -gsdlos $gsdlos $* 149 160 fi 150 161
Note:
See TracChangeset
for help on using the changeset viewer.