anchor.diff:          echo.
           goto DONE
       :q2
  -    ant -Dproperties.file=%QAPROPFILE% -Danthill.build.tag_built=desktop -Dupgrade.target=upgrade-ncm:with-dbinstall -Ddatabase.re-create=true deploy:remote:upgrade
  +    ant -Dproperties.file=%QAPROPFILE% -Dupgrade.target=upgrade-ncm:with-dbinstall -Ddatabase.re-create=true %TAG% %DEBUG% deploy:remote:upgrade
       goto DONE
   :q1
   if "%1" == "clean" (
  
positive.code:         echo.
          goto DONE
      :c2
      ant -Dproperties.file=%CIPROPFILE% -Danthill.build.tag_built=desktop -Dupgrade.target=upgrade-ncm:with-dbinstall -Ddatabase.re-create=true deploy:remote:upgrade
      goto DONE
  :d1
  if "%1" == "qa" (
      ant -Dproperties.file=%QAPROPFILE% -Danthill.build.tag_built=desktop deploy:remote:upgrade
      goto DONE
  )
  if "%1" == "data-qa" (
      ant -Dproperties.file=%DATAQAPROPFILE% -Danthill.build.tag_built=desktop deploy:remote:upgrade
      goto DONE
  )
  if not "%1" == "qa:wdbinstall" goto q1
  
negative.code: echo ******************************************
  echo.
  setlocal
  @rem Environment settings here...
  set DEVPROPFILE=C:\NCI-Projects\ncireportwriter-properties\properties\dev-upgrade.properties
  set CIPROPFILE=C:\NCI-Projects\ncireportwriter-properties\properties\ci-upgrade.properties
  set QAPROPFILE=C:\NCI-Projects\ncireportwriter-properties\properties\qa-upgrade.properties
  set DATAQAPROPFILE=C:\NCI-Projects\ncireportwriter-properties\properties\data-qa-upgrade.properties
  set DEBUG=-Denable.install.debug=false
  set TAG=-Danthill.build.tag_built=desktop
  @rem Test is debug has been set
  if "%2" == "debug" (
      set DEBUG=-Denable.install.debug=true -debug
  )
  if "%1" == ""  (
      echo.
      echo Available targets are:
  