anchor.diff:  if "%_JAVACMD%" == "" set _JAVACMD=java.exe
   
   :runAnt
  -if "%_USE_CLASSPATH%"=="no" goto runAntNoClasspath
  -:runAntWithClasspath
  -"%_JAVACMD%" %ANT_OPTS% -classpath "%DITA_HOME%\lib\ant-launcher.jar" "-Dant.home=%DITA_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %DITA_CMD_LINE_ARGS% -buildfile "%DITA_HOME%\build.xml" -main "org.dita.dost.invoker.Main"
  -rem Check the error code of the Ant build
  -if not "%OS%"=="Windows_NT" goto onError
  -set ANT_ERROR=%ERRORLEVEL%
  -goto end
  -
  -:runAntNoClasspath
  -"%_JAVACMD%" %ANT_OPTS% -classpath "%DITA_HOME%\lib\ant-launcher.jar" "-Dant.home=%DITA_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %DITA_CMD_LINE_ARGS% -buildfile "%DITA_HOME%\build.xml" -main "org.dita.dost.invoker.Main"
  +"%_JAVACMD%" %ANT_OPTS% -classpath "%DITA_HOME%\lib\ant-launcher.jar" "-Dant.home=%DITA_HOME%"  "-Ddita.dir=%DITA_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %DITA_CMD_LINE_ARGS% -buildfile "%DITA_HOME%\build.xml" -main "org.dita.dost.invoker.Main"
   rem Check the error code of the Ant build
   if not "%OS%"=="Windows_NT" goto onError
   set ANT_ERROR=%ERRORLEVEL%
  
positive.code: REM  See the License for the specific language governing permissions and
  REM  limitations under the License.
  
  if "%HOME%"=="" goto homeDrivePathPre
  if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
  
  :homeDrivePathPre
  if "%HOMEDRIVE%%HOMEPATH%"=="" goto userProfilePre
  if "%HOMEDRIVE%%HOMEPATH%"=="%HOME%" goto userProfilePre
  if exist "%HOMEDRIVE%%HOMEPATH%\antrc_pre.bat" call "%HOMEDRIVE%%HOMEPATH%\antrc_pre.bat"
  
  :userProfilePre
  if "%USERPROFILE%"=="" goto alpha
  if "%USERPROFILE%"=="%HOME%" goto alpha
  if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto alpha
  if exist "%USERPROFILE%\antrc_pre.bat" call "%USERPROFILE%\antrc_pre.bat"
  
  :alpha
  
  if "%OS%"=="Windows_NT" @setlocal
  if "%OS%"=="WINNT" @setlocal
  
  if "%DITA_HOME%"=="" goto setDefaultAntHome
  
  :stripAntHome
  if not _%DITA_HOME:~-1%==_\ goto checkClasspath
  set DITA_HOME=%DITA_HOME:~0,-1%
  goto stripAntHome
  
  :setDefaultAntHome
  rem %~dp0 is expanded pathname of the current script under NT
  set DITA_HOME=%~dp0..
  
  :checkClasspath
  set _USE_CLASSPATH=yes
  rem CLASSPATH must not be used if it is equal to ""
  if "%CLASSPATH%"=="""" set _USE_CLASSPATH=no
  if "%CLASSPATH%"=="" set _USE_CLASSPATH=no
  
  rem Slurp the command line arguments. This loop allows for an unlimited number
  rem of arguments (up to the command line limit, anyway).
  set DITA_CMD_LINE_ARGS=
  :setupArgs
  if ""%1""=="""" goto doneStart
  if ""%1""==""-noclasspath"" goto clearclasspath
  set DITA_CMD_LINE_ARGS=%DITA_CMD_LINE_ARGS% %1
  shift
  goto setupArgs
  
  rem here is there is a -noclasspath in the options
  :clearclasspath
  set _USE_CLASSPATH=no
  shift
  goto setupArgs
  
  
negative.code: rem and for NT handling to skip to.
  
  :doneStart
  
  :checkJava
  rem Set environment variables
  