anchor.diff:    SET offline="-Dorg.bedework.offline.build=yes"
     SHIFT
     GOTO branch
  +
  +:reindex
  +  ECHO     Calling the reindexer
  +  SET INDEXER=%QUICKSTART_HOME%\bedework\dist\temp\shellscr\indexer
  +
  +  if exist %INDEXER% goto indexerok
  +    ECHO The indexer directory %INDEXER% does not exist. You probably need to do a rebuild.
  +    GOTO:EOF
  +
  +  :indexerok
  +  cd %INDEXER%
  +  bwrun.bat reindex-nostart -user admin -indexlocprefix ..\..\..\..\..\
  +
  +  GOTO:EOF
   
   :doneWithArgs
   
  
positive.code:   ECHO    The environment variable BEDEWORK_CONFIG contains the path to the current
    ECHO    configuration directory and can be used to build a path to the other files.
    ECHO.
    ECHO.
  
negative.code: IF "%1" == "-bwchome" GOTO bwchome
  IF "%1" == "-bwc" GOTO bwc
  IF "%1" == "-offline" GOTO offline
  IF "%1" == "-reindex" GOTO reindex
  IF "%1" == "-zoneinfo" GOTO zoneinfo
  GOTO doneWithArgs
  
  :usage
    ECHO    Usage:
    ECHO.
    ECHO    bw [CONFIG-SOURCE] [CONFIG] [PROJECT] [ -offline ] [ target ]
    ECHO    bw ACTION
    ECHO.
    ECHO    Where:
    ECHO.
    ECHO    CONFIG-SOURCE optionally defines the location of configurations and is one or none of
    ECHO     -quickstart      to use the configurations within the quickstart
    ECHO                      e.g. "bw -quickstart start"
    ECHO     -bwchome path    to specify the location of the bwbuild directory
    ECHO.
    ECHO     The default is to look in the user home for the "bwbuild" directory.
    ECHO.
    ECHO    CONFIG optionally defines the configuration to build
    ECHO      -bwc configname      e.g. "-bwc mysql"
    ECHO.
    ECHO    -offline     Build without attempting to retrieve library jars
    ECHO    target       Ant target to execute (e.g. "start")
    ECHO.
    ECHO    PROJECT optionally defines the package to build and is none or more of
    ECHO     -carddav     Target is for the CardDAV build
    ECHO     -monitor     Target is for the bedework monitor application
    ECHO     -naming      Target is for the abstract naming api
    ECHO     The default is a calendar build
    ECHO.
    ECHO    Invokes ant to build or deploy the Bedework system. Uses a configuration
    ECHO    directory which contains one directory per configuration.
  