Cleanup classpath generation

This commit is contained in:
Antonin Delpeuch 2018-08-14 23:10:32 +01:00
parent 86d9a91db1
commit d0cbadff15
2 changed files with 14 additions and 2 deletions

View File

@ -99,6 +99,14 @@
<executable>java</executable>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
<pluginManagement>

8
refine
View File

@ -646,6 +646,10 @@ run() {
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"
fi
@ -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 ""