anchor.diff:  MKDIR build
   
   :builddir_existent
  -CALL ant -f %XINS_HOME%\src\ant\transform.xml -Din=%CURDRIVE%:\%CURDIR%xins-project.xml -Dout=%CURDRIVE%:\%CURDIR%build\build.xml -Dstyle=%XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt -Dxins_home=%XINS_HOME% -Dproject_home=%CURDRV%:\%CURDIR% -Dbuilddir=build
  +CALL ant -f %XINS_HOME%\src\ant\transform.xml -Din=%project_home%\xins-project.xml -Dout=%project_home%\build\build.xml -Dstyle=%XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt -Dxins_home=%XINS_HOME% -Dproject_home=%project_home% -Dbuilddir=build
   
  -CALL ant -f %CURDRV%:\%CURDIR%build\build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
  +CALL ant -f %project_home%\build\build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
   :end
  
positive.code: ::
  :: Converts xins-project.xml in the current directory to an Ant build file and
  :: then passes control to Ant.
  
  @ECHO OFF
  
  
negative.code: IF NOT "%1" == "-version" GOTO no_version
  java -version
  CALL ant -version
  CALL ant -f %XINS_HOME%\build.xml -listener org.apache.tools.ant.NoBannerLogger
  version
  GOTO end
  
  :: Determine the current drive and directory
  :no_version
  SETLOCAL
  SET project_home=
  FOR /f "Tokens=*" %%i IN ('CD') DO SET project_home=%%i
  ECHO Current directory is %project_home%
  
  :: Make sure XINS_HOME is set
  IF NOT "%XINS_HOME%" == "" GOTO xins_home_set
  ECHO FATAL: XINS_HOME not set
  GOTO end
  
  :xins_home_set
  IF EXIST %XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt GOTO stylesheet_found
  ECHO FATAL: Cannot find stylesheet
  %XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt
  GOTO end
  
  :stylesheet_found
  