anchor.diff:  goto errorExit
   
   :grailsHomeNotSet
  +if "%OS%"=="Windows_NT" set GRAILS_HOME=%~dp0%..
  +if not "%GRAILS_HOME%" == "" goto okGrailsHome
   echo Error: GRAILS_HOME is not defined
   echo Please set the GRAILS_HOME environment variable and start Grails again
   goto errorExit
  +
  +:okGrailsHome
   
   :getArguments
   set GRAILS_ARGUMENTS=%1
  
positive.code: 
  :errorExit
  
  
negative.code: @echo off
  
  rem Set local scope for the variables with windows NT shell
  if "%OS%"=="Windows_NT" setlocal
  
  if "%JAVA_HOME%"=="" goto javaHomeNotSet
  if "%GRAILS_HOME%"=="" goto grailsHomeNotSet
  goto getArguments
  
  :javaHomeNotSet
  