anchor.diff:  if NOT "x%DEBUG%" == "x" (
     set "DEBUG_MODE=%DEBUG%
   )
  -
   
   rem Get the program name before using shift as the command modify the variable ~nx0
   if "%OS%" == "Windows_NT" (
  
positive.code: if not %DEBUG_ARG% == "" (
     if x%DEBUG_ARG:-=%==x%DEBUG_ARG% (
        shift
        set DEBUG_PORT=%DEBUG_ARG%
     )
     shift
     goto READ-ARGS
  
negative.code:         move /y "%JBOSS_LOG_DIR%\gc.log.3" "%JBOSS_LOG_DIR%\backupgc.log.3" > nul 2>&1
          move /y "%JBOSS_LOG_DIR%\gc.log.4" "%JBOSS_LOG_DIR%\backupgc.log.4" > nul 2>&1
          move /y "%JBOSS_LOG_DIR%\gc.log.*.current" "%JBOSS_LOG_DIR%\backupgc.log.current" > nul 2>&1
  
          "%JAVA%" -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -Xloggc:"%JBOSS_LOG_DIR%\gc.log" -XX:-TraceClassUnloading -version > nul 2>&1
          if not errorlevel == 1 (
            if not exist "%JBOSS_LOG_DIR" > nul 2>&1 (
              mkdir "%JBOSS_LOG_DIR%"
            )
           set "JAVA_OPTS=-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -Xloggc:"%JBOSS_LOG_DIR%\gc.log" -XX:-TraceClassUnloading %JAVA_OPTS%"
          )
         )
      )
  )
  
  
  
  
  rem Set the module options
  set "MODULE_OPTS="
  