anchor.diff:  rem arg2 is either RELEASE OR NIGHTLY
   if "%2%" == "RELEASE" goto releaseversion
   set TARGETNAME=MMSetup32BIT_%mmversion%_%YYYYMMDD%.exe
  -sed -i "s/\"1\.4.*/\"%mmversion%  %YYYYMMDD%\";/"  MMStudioMainFrame.java
  +set BUILDVERSION=Micro-Manager %mmversion% %YYYYMMDD%
   goto continuebuild
   :releaseversion
  -sed -i "s/\"1\.4.*/\"%mmversion%\";/"  MMStudioMainFrame.java
   set TARGETNAME=MMSetup32BIT_%mmversion%.exe
  +set BUILDVERSION=Micro-Manager %mmversion%
   :continuebuild
   popd
  +echo %BUILDVERSION% > buildversion.txt
   
   rem remove any installer package with exactly the same name as the current output
   echo trying to delete \Projects\micromanager\Install_Win32\Output\MMSetup_.exe 
  
positive.code: set mmversion=""
  set YYYYMMDD=""
  set TARGETNAME=""
  call buildscripts\setmmversionvariable
  call buildscripts\setyyyymmddvariable
  pushd .\mmstudio\src\org\micromanager
  
negative.code: popd
  
  svn cleanup --non-interactive
  
  
  :UPDATEMMTREE
  echo update micromanager tree from the repository
  