- Timestamp:
- 2009-05-04T15:23:59+12:00 (15 years ago)
- Location:
- gli/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/client-gli.sh
r19305 r19313 190 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 $* 191 191 else 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" $* 192 gsdlos=`uname -s | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 193 # check for running bash under cygwin 194 if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ; then 195 gsdlos=windows 196 fi 197 $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" -gsdlos $gsdlos $* 193 198 fi 194 199 -
gli/trunk/src/org/greenstone/gatherer/download/DownloadJob.java
r19306 r19313 293 293 prcs = rt.exec(cmd, env); 294 294 } 295 else if(Gatherer.isGsdlRemote && Gatherer.isDownloadEnabled) { 296 // Not Windows, but running client with download panel 297 // Need to manually specify GSDLHOME and GSDLOS 298 env = new String[2]; 299 env[0] = "GSDLHOME=" + Configuration.gsdl_path; 300 env[1] = "GSDLOS=" + Gatherer.client_operating_system; 301 prcs = rt.exec(cmd, env); 302 } 295 303 else { 296 304 // Will inherit the GLI's environment, with GSDLHOME and GSDLOS set
Note:
See TracChangeset
for help on using the changeset viewer.