From d0cbadff15dbe3adde99a36f9676fd5a603f7442 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Tue, 14 Aug 2018 23:10:32 +0100 Subject: [PATCH] Cleanup classpath generation --- main/pom.xml | 8 ++++++++ refine | 8 ++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/main/pom.xml b/main/pom.xml index 9ac0f3101..f3f30f164 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -99,6 +99,14 @@ java + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.1 + + true + + diff --git a/refine b/refine index f7f377898..4f081a5d0 100755 --- a/refine +++ b/refine @@ -645,6 +645,10 @@ run() { echo "" fi fi + + if [ ! -e "server/classpath.txt" ] ; then + mvn dependency:build-classpath + fi if [ -d $REFINE_CLASSES_DIR ] ; then add_option "-Drefine.autoreload=true -Dbutterfly.autoreload=true" @@ -683,8 +687,8 @@ run() { RUN_CMD="$JAVA -cp $CLASSPATH $OPTS com.google.refine.Refine" - echo "$RUN_CMD" - echo "" + #echo "$RUN_CMD" + #echo "" echo "Starting OpenRefine at 'http://${REFINE_HOST}:${REFINE_PORT}/'" echo ""