anchor.diff:  
   FOR %%P IN ("%~dp0..") DO SET BUILD_HOME=%%~fP
   
  -SET JAR_FILE=%BUILD_HOME%/target/%SERVER_JAR%
  -SET DEP_DIR=%BUILD_HOME%/target/dependency
  -SET FDBSQL_CONF=%BUILD_HOME%/conf
  -SET FDBSQL_LOGDIR=/tmp/fdbsqllayer
  -SET FDBSQL_HOME_DIR=%BUILD_HOME%/target
  +SET JAR_FILE=%BUILD_HOME%\target\%SERVER_JAR%
  +SET DEP_DIR=%BUILD_HOME%\target\dependency
  +SET FDBSQL_CONF=%BUILD_HOME%\conf
  +SET FDBSQL_LOGDIR=\tmp\fdbsqllayer
  +SET FDBSQL_HOME_DIR=%BUILD_HOME%\target
   SET PRUNSRV=prunsrv
   SET PRUNMGR=prunmgr
   SET SERVICE_MODE=manual
  
positive.code:   GOTO EOF
  )
  
  IF NOT DEFINED FDBSQL_LOGCONF SET FDBSQL_LOGCONF=%FDBSQL_CONF%/log4j.properties
  
  IF EXIST "%FDBSQL_CONF%/jvm-options.cmd" CALL "%FDBSQL_CONF%/jvm-options.cmd"
  
  IF "%VERB%"=="window" GOTO RUN_CMD
  IF "%VERB%"=="run" GOTO RUN_CMD
  
  SET PRUNSRV_ARGS=--StartMode=jvm --StartClass com.foundationdb.sql.Main --StartMethod=procrunStart ^
                   --StopMode=jvm --StopClass=com.foundationdb.sql.Main --StopMethod=procrunStop ^
                   --StdOutput="%FDBSQL_LOGDIR%/stdout.log" --DisplayName="%SERVICE_DNAME%" ^
                   --Description="%SERVICE_DESC%" --Startup=%SERVICE_MODE% --Classpath="%CLASSPATH%"
  REM Each value that might have a space needs a separate ++JvmOptions.
  SET PRUNSRV_ARGS=%PRUNSRV_ARGS% --JvmOptions="%JVM_OPTS: =#%" ++JvmOptions="-Dfdbsql.config_dir=%FDBSQL_CONF%" ^
  
negative.code: SET SERVICE_DNAME=FoundationDB SQL Layer 
  SET SERVICE_DESC=FoundationDB SQL Layer
  
  IF EXIST "%~dp0..\pom.xml" GOTO FROM_BUILD
  
  REM Installation Configuration
  
  FOR %%P IN ("%~dp0..") DO SET FDBSQL_HOME=%%~fP
  
  SET JAR_FILE=%FDBSQL_HOME%\sql\lib\%SERVER_JAR%
  SET DEP_DIR=%FDBSQL_HOME%\sql\lib\server
  SET FDBSQL_HOME_DIR=%FDBSQL_HOME%\sql
  @REM Replaced during install
  SET FDBSQL_CONF=${confdir}
  SET FDBSQL_LOGDIR=${logdir}
  