anchor.diff:  set mmversion=""
   set YYYYMMDD=""
   set TARGETNAME=""
  +set BUILDVERSION=""
   call buildscripts\setmmversionvariable
   call buildscripts\setyyyymmddvariable
   pushd .\mmstudio\src\org\micromanager
  
positive.code: 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
  goto continuebuild
  :releaseversion
  sed -i "s/\"1\.4.*/\"%mmversion%\";/"  MMStudioMainFrame.java
  set TARGETNAME=MMSetup32BIT_%mmversion%.exe
  :continuebuild
  popd
  
  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 
  
negative.code: popd
  
  svn cleanup --non-interactive
  
  
  :UPDATEMMTREE
  echo update micromanager tree from the repository
  