anchor.diff:  :: FIXME (carbokuo) This script is migrated from bin/buck and bin/buck_common and still very incomplete.
   
   @echo off
  +
  +:: Check %JAVA_HOME%
  +if "%JAVA_HOME%"=="" (
  +  echo Please have JDK 1.7 or higher installed and set environment variable %%JAVA_HOME%%.
  +  exit /b
  +)
  +:: Check java
  +set JAVA=%JAVA_HOME%\bin\java.exe
  +if not exist "%JAVA%" (
  +  echo java.exe not found under "%JAVA_HOME%\bin". Please check your environment variable %%JAVA_HOME%%.
  +  exit /b
  +)
  +
   set ORIGINAL_WORKING_DIRECTORY=%cd%
   set PROJECT_ROOT=%cd%
   set BUCK_BIN_DIRECTORY=%~dp0
  
positive.code: %BUCK_DIRECTORY%\third-party\java\astyanax\slf4j-log4j12-1.7.2.jar;^
  %BUCK_DIRECTORY%\third-party\java\xz-java-1.3\xz-1.3.jar
  
  java ^
    -classpath %BUCK_JAVA_CLASSPATH% ^
    %BUCK_JAVA_ARGS% ^
    -Dbuck.daemon=false ^
  
negative.code: set BUCKD_PORT_FILE=%PROJECT_ROOT%\buckd.port
  set BUCKD_RUNNING=0
  
  if exist "%PROJECT_ROOT%\.buckversion" (
    if not exist "%PROJECT_ROOT%\.nobuckcheck" (
      set /p BUCK_REQUIRED_VERSION=<%PROJECT_ROOT%\.buckversion
      rem TODO checkout the required version
    )
  