anchor.diff:    mkdir "!SOLR_LOGS_DIR!"
   )
   
  +IF NOT EXIST "%SOLR_SERVER_DIR%\tmp" (
  +  mkdir "%SOLR_SERVER_DIR%\tmp"
  +)
  +
   @echo.
   @echo Starting Solr on port %SOLR_PORT% from %SOLR_SERVER_DIR%
   @echo.
  
positive.code:           for /f "tokens=2,5" %%j in ('netstat -aon ^| find /i "listening" ^| find ":!SOME_SOLR_PORT!"') do (
              @echo Stopping Solr running on port !SOME_SOLR_PORT!
              set /A STOP_PORT=!SOME_SOLR_PORT! - 1000
              "%JAVA%" -jar "%SOLR_SERVER_DIR%\start.jar" STOP.PORT=!STOP_PORT! STOP.KEY=%STOP_KEY% --stop
              del %SOLR_TIP%\bin\solr-!SOME_SOLR_PORT!.port
              timeout /T 5
              REM Kill it if it is still running after the graceful shutdown
  
negative.code:       set found_it=1
        @echo Stopping Solr running on port %SOLR_PORT%
        set /A STOP_PORT=%SOLR_PORT% - 1000
        "%JAVA%" -Djetty.home="%SOLR_SERVER_DIR%" -jar "%SOLR_SERVER_DIR%\start.jar" STOP.PORT=!STOP_PORT! STOP.KEY=%STOP_KEY% --stop
        del %SOLR_TIP%\bin\solr-%SOLR_PORT%.port
        timeout /T 5
        REM Kill it if it is still running after the graceful shutdown
  