anchor.diff:  PAUSE
   GOTO EOF
   
  +:findJarFile
  +SET JAR_FILE=
  +FOR %%P IN ("%~1\fdb-sql-layer*.jar") DO (
  +    SET T=%%P
  +    REM Ignore files that change with -test, -source and -client removed
  +    IF "!T:test=!"=="%%P" IF "!T:source=!"=="%%P" IF "!T:client=!"=="%%P" (
  +        SET JAR_FILE=%%P
  +    )
  +)
  +IF "%JAR_FILE%"=="" (
  +    ECHO No jar file in %~1
  +)
  +GOTO:EOF
  +
   :EOF
   ENDLOCAL
  
positive.code: 
  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
  
negative.code: 
  FOR %%P IN ("%~dp0..") DO SET FDBSQL_HOME=%%~fP
  
  CALL:findJarFile "%FDBSQL_HOME%\sql\lib"
  SET DEP_DIR=%FDBSQL_HOME%\sql\lib\server
  SET FDBSQL_HOME_DIR=%FDBSQL_HOME%\sql
  @REM Replaced during install
  