Use 'call' instruction in batch file

This commit is contained in:
Antonin Delpeuch 2018-09-10 15:29:00 +01:00
parent e589697171
commit 6f13f6a9e2

View File

@ -239,7 +239,7 @@ if ""%ACTION%"" == ""build"" set MVN_ACTION=""process-resources compile dependen
if ""%ACTION%"" == ""test"" set MVN_ACTION=""process-resources compile test"" if ""%ACTION%"" == ""test"" set MVN_ACTION=""process-resources compile test""
if ""%ACTION%"" == ""server_test"" set MVN_ACTION=""process-resources compile test -f main"" if ""%ACTION%"" == ""server_test"" set MVN_ACTION=""process-resources compile test -f main""
if ""%ACTION%"" == ""extensions_test"" set MVN_ACTION=""process-resources compile test -f extensions"" if ""%ACTION%"" == ""extensions_test"" set MVN_ACTION=""process-resources compile test -f extensions""
"%MAVEN_HOME%\bin\mvn.cmd" %MVN_ACTION% call "%MAVEN_HOME%\bin\mvn.cmd" %MVN_ACTION%
goto end goto end
:end :end