anchor.diff:  copy .\bin_%PLATFORM%\_MMCorePy.pyd .\Install_%PLATFORM%\micro-manager
   copy .\MMCorePy_wrap\MMCoreWrapDemo.py .\Install_%PLATFORM%\micro-manager
   
  -
   echo building Java wrapper with command:
   echo start /wait vcexpress .\MMCoreJ_wrap\MMCoreJ_wrap.sln %buildswitch% "Release|%PLATFORM%"
   start /wait vcexpress .\MMCoreJ_wrap\MMCoreJ_wrap.sln %buildswitch% "Release|%PLATFORM%"
  -
  -
   
   echo Update the version number in MMVersion.java
   set mmversion=""
  
positive.code: del MMVersion.java
  svn update --non-interactive
  rem for nightly builds we put the version + the date-stamp
  rem arg2 is either RELEASE OR NIGHTLY
  if "%DO_RELEASE_BUILD%" == "RELEASE" goto releaseversion
  set TARGETNAME=MMSetup%ARCH%BIT_%mmversion%_%YYYYMMDD%.exe
  sed -i "s/\"1\.4.*/\"%mmversion%  %YYYYMMDD%\";/"  MMVersion.java
  goto continuebuild
  :releaseversion
  sed -i "s/\"1\.4.*/\"%mmversion%\";/"  MMVersion.java
  set TARGETNAME=MMSetup%ARCH%BIT_%mmversion%.exe
  :continuebuild
  popd
  
  rem remove any installer package with exactly the same name as the current output
  
negative.code: rem Parameters are:
  rem doBuild.bat Win32|x64 FULL|INCREMENTAL RELEASE|NIGHTLY UPLOAD|NOUPLOAD
  
  echo %date% - %time%
  
  