Changeset 1073
- Timestamp:
- 06/01/16 22:57:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/script/expeditee
r1072 r1073 115 115 custom_vm_args="-Xdock:name=$PROGABBR" 116 116 fi 117 117 118 119 cygwin_detected=0 120 cygpath -h 2>/dev/null 121 if [ $? == 0 ] ; then 122 cygwin_detected=1 123 fi 124 118 125 #"$javapath" -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/rsyntaxtextarea.jar $custom_vm_args org.greenstone.gatherer.GathererProg -gsdl "$GSDLHOME" -gsdlos $GSDLOS -gsdl3 "$GSDL3HOME" -gsdl3src "$GSDL3SRCHOME" $* 119 126 120 121 127 122 128 jars='jars/JEP.jar:jars/JFreeCharts.jar:jars/activation.jar:jars/cobra.jar:jars/ext:jars/iText-2.1.3.jar:jars/jazzy-core.jar:jars/jcommon-1.0.13.jar:jars/js.jar:jars/lobo-pub.jar:jars/lobo.jar:jars/mail.jar:jars/xercesImpl.jar' … … 124 130 jars="$jars:releases/Expeditee.jar" 125 131 126 cygpath -h 2>/dev/null 127 if [ $? == 0 ] ; then 132 if [ $cygwin_detected = "1" ] ; then 128 133 jars=`cygpath -wp "$jars"` 129 134 fi 135 136 137 opt_java_props="" 138 if [ "x$EXPEDITEE_FILESYSTEM" != "x" ] ; then 139 if [ ! -d "$EXPEDITEE_FILESYSTEM" ] ; then 140 echo "++ Detected explicit Expeditee filesystem setting" 141 echo "++ Creating \"$EXPEDITEE_FILESYSTEM\"" 142 echo "" 143 mkdir "$EXPEDITEE_FILESYSTEM" 144 if [ $? != 0 ] ; then 145 echo "Failed to create directory \"$EXPEDITEE_FILESYSTEM\"" >&2 146 exit -1 147 fi 148 fi 149 _expeditee_filesystem="" 150 if [ $cygwin_detected = "1" ] ; then 151 _expeditee_filesystem=`cygpath -ws "$EXPEDITEE_FILESYSTEM" | sed 's/\\\\/\\\\\\\\/g'` 152 else 153 _expeditee_filesystem="$EXPEDITEE_FILESYSTEM" 154 fi 155 156 opt_java_props="-Dexpeditee.home=$_expeditee_filesystem" 157 fi 158 159 130 160 131 161 #java -classpath "$jars" org.expeditee.gui.Browser $* 132 162 133 163 cd "$EXPEDITEE_HOME" 134 java -classpath releases/Expeditee.jarorg.apollo.ApolloSystem $*164 java $custom_vm_args $opt_java_props -classpath releases/Expeditee.jar org.apollo.ApolloSystem $* 135 165 136 166
Note:
See TracChangeset
for help on using the changeset viewer.