anchor.diff:    )
     if "!LOGPATH!" == "" (
       echo ERROR: You need to specify a path for the service log
  +    goto endBatch
  +  )
  +  shift
  +  shift
  +  goto LoopArgs
  +)
  +if /I "%~1"== "/properties" (
  +  set PROPSPATH=
  +  if not "%~2"=="" (
  +    set T=%~2
  +    if not "!T:~0,1!"=="/" (
  +      set PROPSPATH=%~2
  +    )
  +  )
  +  if "!PROPSPATH!" == "" (
  +    echo ERROR: You need to specify a path for the properties file
  +    goto endBatch
  +  )
  +  shift
  +  shift
  +  goto LoopArgs
  +)
  +if /I "%~1"== "/environment" (
  +  set ENV_VARS=
  +  if not "%~2"=="" (
  +    set T=%~2
  +    if not "!T:~0,1!"=="/" (
  +      set ENV_VARS=%~2
  +    )
  +  )
  +  if "!ENV_VARS!" == "" (
  +    echo ERROR: You need to specify a list of environment variables
       goto endBatch
     )
     shift
  
positive.code: echo(
  echo     /debug                      : run the service install in debug mode
  echo(
  echo Other commands:
  echo(
  echo   service uninstall [/name ^<servicename^>]
  
negative.code:   if "%BASE%"=="" set "BASE=%JBOSS_HOME%\standalone"
    if "%CONFIG%"=="" set CONFIG=standalone.xml
    if "%START_SCRIPT%"=="" set START_SCRIPT=standalone.bat
    if "%PROPSPATH%"=="" (
      set "PROPS="
    ) else (
      set "PROPS=#--properties=%PROPSPATH%"
    )
    set STARTPARAM="/c#set#NOPAUSE=Y#&&#!START_SCRIPT!#-Djboss.server.base.dir=!BASE!#--server-config=!CONFIG!!PROPS!"
    set STOPPARAM="/c !STOP_SCRIPT! --controller=%CONTROLLER% --connect %CREDENTIALS% --command=:shutdown"
  )
  
  