source: gs3-installations/mars/trunk/sites/mars/_set_weka_classpath.bash@ 36966

Last change on this file since 36966 was 34782, checked in by davidb, 3 years ago

Some tweaks to compile/run/clean scripts now Java code in src/java

File size: 622 bytes
Line 
1
2
3if [ "x$GEXT_MARS" = "x" ] ; then
4 echo "****" >&2
5 echo "Environment variable GEXT_MARS not set. Have your sourced this Greenstone3 extension's 'setup.bash' file?" >&2
6 echo "****" >&2
7elif
8
9[ ! -d "$GEXT_MARS" ] ; then
10 echo "****" >&2
11 echo "Unable to find directory: $GEXT_MARS" >&2
12 echo "****" >&2
13else
14
15 cygpath --version >/dev/null 2>&1
16 status=$?
17
18 if [ $status = 0 ] ; then
19 weka_full_path="$GEXT_MARS/jars/weka.jar"
20 weka_full_path_dos=`cygpath -w $weka_full_path`
21
22 cp_args="$weka_full_path_dos\;src\java"
23 else
24 cp_args="$GEXT_MARS/jars/weka.jar:src/java"
25 fi
26fi
Note: See TracBrowser for help on using the repository browser.