[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:
Dan Tran 2009-12-31 19:19:53 +00:00
parent ac03bb52c0
commit 1520e0f8f3
1 changed files with 2 additions and 1 deletions

View File

@ -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