anchor.diff:  svn update --non-interactive
   rem for nightly builds we put the version + the date-stamp
   rem arg2 is either RELEASE OR NIGHTLY
  -if "%2%" == "RELEASE" goto releaseversion
  +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
  
positive.code: echo working directory is
  cd
  
  IF NOT "%1"=="FULL" GOTO UPDATEMMTREE
  
  pushd ..\3rdparty
  svn cleanup --non-interactive
  
negative.code:     set PLATFORM=Win32
      set ARCH=32
  )
  set DO_FULL_BUILD=%2
  set DO_RELEASE_BUILD=%3
  set DO_UPLOAD=%4
  
  echo stop any instances that might already be running.
  pskill javaw.exe
  