mirror of https://github.com/apache/maven.git
[MNG-4509] set MAVEN_DEBUG_OPTS after setlocal so that it is clear after mvnDebug.bat is done
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@894928 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac03bb52c0
commit
1520e0f8f3
|
@ -37,7 +37,6 @@
|
|||
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
|
||||
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
|
||||
|
||||
set MAVEN_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||
@echo Preparing to Execute Maven in Debug Mode
|
||||
|
||||
@REM set %HOME% to equivalent of $HOME
|
||||
|
@ -52,6 +51,8 @@ set ERROR_CODE=0
|
|||
if "%OS%"=="Windows_NT" @setlocal
|
||||
if "%OS%"=="WINNT" @setlocal
|
||||
|
||||
set MAVEN_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||
|
||||
@REM ==== START VALIDATION ====
|
||||
if not "%JAVA_HOME%" == "" goto OkJHome
|
||||
|
||||
|
|
Loading…
Reference in New Issue