Fix Linux refine script

This commit is contained in:
Antonin Delpeuch 2018-09-11 15:41:31 +01:00
parent 9b659c618c
commit aff1abd3cf

8
refine
View File

@ -640,7 +640,7 @@ run() {
if [ -z "$IS_JAR" ] ; then if [ -z "$IS_JAR" ] ; then
mvn_prepare mvn_prepare
$MVN process-resources $MVN process-resources
$MVN compile $MVN compile test-compile
echo "" echo ""
fi fi
fi fi
@ -677,11 +677,11 @@ run() {
add_option "-Drefine.autosave=$REFINE_AUTOSAVE_PERIOD" add_option "-Drefine.autosave=$REFINE_AUTOSAVE_PERIOD"
fi fi
CLASSPATH="$REFINE_CLASSES_DIR${SEP}$REFINE_LIB_DIR" CLASSPATH="$REFINE_CLASSES_DIR${SEP}$REFINE_LIB_DIR/*"
RUN_CMD="$JAVA -cp $CLASSPATH $OPTS com.google.refine.Refine" RUN_CMD="$JAVA -cp $CLASSPATH $OPTS com.google.refine.Refine"
#echo "$RUN_CMD" echo "$RUN_CMD"
#echo "" #echo ""
echo "Starting OpenRefine at 'http://${REFINE_HOST}:${REFINE_PORT}/'" echo "Starting OpenRefine at 'http://${REFINE_HOST}:${REFINE_PORT}/'"
@ -1005,7 +1005,7 @@ add_option "-Dpython.cachedir=$HOME/.local/share/google/refine/cachedir"
# ----- Respond to the action given -------------------------------------------- # ----- Respond to the action given --------------------------------------------
case "$ACTION" in case "$ACTION" in
build) build_prepare; mvn process-resources; mvn compile;; build) build_prepare; mvn process-resources; mvn compile test-compile;;
clean) mvn clean;; clean) mvn clean;;
whitespace) whitespace $1;; whitespace) whitespace $1;;
distclean) mvn distclean;; distclean) mvn distclean;;