From 5a59e6c9b07a7b2b88bbb39c36de0f7a2b689fc3 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Mon, 10 Sep 2018 13:51:00 +0100 Subject: [PATCH] Attempt to generate classpath on Windows --- refine.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/refine.bat b/refine.bat index 647eef101..067a8305b 100644 --- a/refine.bat +++ b/refine.bat @@ -210,7 +210,8 @@ echo REFINE_MEMORY = %REFINE_MEMORY% echo ----------------------- ) > support.log -set CLASSPATH="%REFINE_CLASSES_DIR%;%REFINE_LIB_DIR%\*" +set LIB_CLASSPATH=('type server/target/classpath.txt') +set CLASSPATH="%REFINE_CLASSES_DIR%;%LIB_CLASSPATH%\*" "%JAVA_HOME%\bin\java.exe" -cp %CLASSPATH% %OPTS% -Djava.library.path=%REFINE_LIB_DIR%/native/windows com.google.refine.Refine goto end @@ -232,7 +233,7 @@ echo http://bit.ly/1c2gkR echo. :gotMvnHome set MVN_ACTION=""%ACTION%"" -if ""%ACTION%"" == ""build"" set MVN_ACTION=""process-resources compile"" +if ""%ACTION%"" == ""build"" set MVN_ACTION=""process-resources compile dependency:build-classpath"" if ""%ACTION%"" == ""server_test"" set MVN_ACTION=""process-resources test -pl main"" if ""%ACTION%"" == ""extensions_test"" set MVN_ACTION=""process-resources test -pl extensions"" "%MAVEN_HOME%\bin\mvn.cmd" %MVN_ACTION%