Call test-compile explicitly when generating the classpath
This commit is contained in:
parent
4bb5795203
commit
f2c0361bfc
9
refine
9
refine
@ -645,16 +645,15 @@ run() {
|
||||
IS_JAR=`ls $REFINE_LIB_DIR | grep openrefine`
|
||||
if [ -z "$IS_JAR" ] ; then
|
||||
mvn_prepare
|
||||
echo mvn process-resources compile dependency:build-classpath
|
||||
$MVN process-resources compile dependency:build-classpath
|
||||
$MVN process-resources
|
||||
$MVN compile test-compile dependency:build-classpath
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -e "server/target/classpath.txt" ] ; then
|
||||
mvn_prepare
|
||||
echo mvn compile dependency:build-classpath
|
||||
$MVN compile dependency:build-classpath
|
||||
$MVN compile test-compile dependency:build-classpath
|
||||
fi
|
||||
|
||||
if [ -d $REFINE_CLASSES_DIR ] ; then
|
||||
@ -1018,7 +1017,7 @@ add_option "-Dpython.cachedir=$HOME/.local/share/google/refine/cachedir"
|
||||
|
||||
# ----- Respond to the action given --------------------------------------------
|
||||
case "$ACTION" in
|
||||
build) build_prepare; mvn process-resources compile;;
|
||||
build) build_prepare; mvn process-resources; mvn compile test-compile dependency:build-classpath;;
|
||||
clean) mvn clean;;
|
||||
whitespace) whitespace $1;;
|
||||
distclean) mvn distclean;;
|
||||
|
@ -235,10 +235,10 @@ echo http://bit.ly/1c2gkR
|
||||
echo.
|
||||
:gotMvnHome
|
||||
set MVN_ACTION=""%ACTION%""
|
||||
if ""%ACTION%"" == ""build"" set MVN_ACTION=compile dependency:build-classpath
|
||||
if ""%ACTION%"" == ""test"" set MVN_ACTION=compile test
|
||||
if ""%ACTION%"" == ""server_test"" set MVN_ACTION=compile test -f main
|
||||
if ""%ACTION%"" == ""extensions_test"" set MVN_ACTION=compile test -f extensions
|
||||
if ""%ACTION%"" == ""build"" set MVN_ACTION=compile test-compile dependency:build-classpath
|
||||
if ""%ACTION%"" == ""test"" set MVN_ACTION=test dependency:build-classpath
|
||||
if ""%ACTION%"" == ""server_test"" set MVN_ACTION=test -f main
|
||||
if ""%ACTION%"" == ""extensions_test"" set MVN_ACTION=test -f extensions
|
||||
call "%MAVEN_HOME%\bin\mvn.cmd" process-resources
|
||||
call "%MAVEN_HOME%\bin\mvn.cmd" %MVN_ACTION%
|
||||
goto end
|
||||
|
Loading…
Reference in New Issue
Block a user