anchor.diff:  if "%BOOT_OUT%" == "" set BOOT_OUT=%MIDPOINT_HOME%\log\midpoint.out
   echo Using BOOT_OUT:        "%BOOT_OUT%"
   
  -rem ----- Execute The Requested Command ---------------------------------------
  +rem ----- Execute The Requested Start Command ---------------------------------------
   
  -if "%1" == "start" goto doStart
  -if "%1" == "stop" goto doStop
  -
  -echo Error: No command given. Specify either start or stop.
  -goto end
  -
  -:doStart
   shift
   set RUN_JAVA=javaw
   if not "%JAVA_HOME%" == "" set RUN_JAVA=%JAVA_HOME%\bin\javaw
  
positive.code: echo Using RUN_JAVA:        "%RUN_JAVA%"
  echo Using JAVA_OPTS:       "%JAVA_OPTS%"
  echo Using parameters:      "%*"
  start /b %RUN_JAVA% -jar %JAVA_OPTS% -Xms2048M -Xmx2048M -Dpython.cachedir="%MIDPOINT_HOME%\tmp" -Djavax.net.ssl.trustStore="%MIDPOINT_HOME%\keystore.jceks" -Djavax.net.ssl.trustStoreType=jceks -Dmidpoint.home="%MIDPOINT_HOME%" "%LIB_DIR%\midpoint.war" %* > "%BOOT_OUT%" 2>&1
  goto end
  
  :doStop
  shift
  FOR /F "usebackq tokens=5" %%i IN (`netstat -aon ^| findstr "0.0.0.0:8080"`) DO taskkill /F /PID %%i
  goto end
  
  :end
  
negative.code: 
  setlocal
  
  if "%1" == "start" goto doStart
  if "%1" == "stop" goto doStop
  
  echo Error: No command given. Specify either start or stop.
  goto end
  
  :doStart
  set BIN_DIR=%~dp0
  set LIB_DIR=%BIN_DIR%..\lib
  
  