anchor.diff:  
   :: Export and copy "componentData" SVN directory to temporary directory
   svn export componentLibraries\defaultLibrary\components %tempDir%\componentLibraries\defaultLibrary\components
  -xcopy componentLibraries\defaultLibrary\components\defaultComponentLibrary.dll %tempDir%\componentLibraries\defaultLibrary\components
  +REM xcopy componentLibraries\defaultLibrary\components\defaultComponentLibrary.dll %tempDir%\componentLibraries\defaultLibrary\components
   
   
   ::Export "exampleComponentLib" SVN directory to temporary directory
  
positive.code: 
  
  ::Change the include and lib paths to be correct
  ThirdParty\sed-4.2.1\sed.exe "s|$${PWD}/../../HopsanCore/include/|$${PWD}/../include/|" -i %tempDir%\exampleComponentLib\exampleComponentLib.pro
  ThirdParty\sed-4.2.1\sed.exe "s|$${PWD}/../../bin|$${PWD}/../bin|" -i %tempDir%\exampleComponentLib\exampleComponentLib.pro
  
  
  :: Export "help" SVN directory to temporary directory
  
negative.code:   ThirdParty\sed-4.2.1\sed "s|.*#define DEVELOPMENT|//#define DEVELOPMENT|" -i HopsanGUI\common.h
  )
  
  :: Make sure we compile defaultLibrary into core
  ThirdParty\sed-4.2.1\sed "s|.*DEFINES \*= INTERNALDEFAULTCOMPONENTS|DEFINES *= INTERNALDEFAULTCOMPONENTS|g" -i HopsanCore\HopsanCore.pro
  ThirdParty\sed-4.2.1\sed "s|#INTERNALCOMPLIB.CC#|../componentLibraries/defaultLibrary/code/defaultComponentLibraryInternal.cc \\|" -i HopsanCore\HopsanCore.pro
  ThirdParty\sed-4.2.1\sed "s|componentLibraries||" -i HopsanNG.pro
  
  
  :: Rename TBB so it is not found when compiling with Visual Studio
  IF NOT EXIST HopsanCore\Dependencies\tbb30_20110704oss (
    if not exist HopsanCore\Dependencies\tbb30_20110704oss_nope (
      COLOR 04
      echo Cannot find correct TBB version, you must use tbb30_20110704oss!
      echo Aborting!
      pause
      goto cleanup
    )
  )
  
  cd HopsanCore\Dependencies
  