anchor.diff:  :Checkin
   ECHO.
   ECHO Checking in dependencies...
  -%tfs% checkin %target1% /noprompt /recursive /comment:"Synchrophasor: Updated code library dependencies."
  -%tfs% checkin %target2% /noprompt /recursive /comment:"Synchrophasor: Updated time-series framework dependencies."
  -%tfs% checkin "%sourcetools%ConfigCrypter.exe" /noprompt /comment:"Synchrophasor: Updated code library tool: ConfigCrypter."
  -%tfs% checkin "%sourcetools%ConfigurationEditor.exe" /noprompt /comment:"Synchrophasor: Updated code library tools: ConfigurationEditor."
  -%tfs% checkin "%sourcetools%HistorianPlaybackUtility.exe" /noprompt /comment:"Synchrophasor: Updated openHistorian tool: HistorianPlaybackUtility."
  +%tfs% checkin %target1% /noprompt /recursive /comment:"Updated code library dependencies."
  +%tfs% checkin %target2% /noprompt /recursive /comment:"Updated time-series framework dependencies."
  +%tfs% checkin %target5% /noprompt /recursive /comment:"Updated openPDC dependencies."
  +%tfs% checkin "%sourcetools%ConfigCrypter.exe" /noprompt /comment:"Updated code library tool: ConfigCrypter."
  +%tfs% checkin "%sourcetools%ConfigurationEditor.exe" /noprompt /comment:"Updated code library tools: ConfigurationEditor."
  +%tfs% checkin "%sourcetools%HistorianPlaybackUtility.exe" /noprompt /comment:"Updated openHistorian tool: HistorianPlaybackUtility."
   
   :Finalize
   ECHO.
  
positive.code: SET target2="..\..\Source\Dependencies\TimeSeriesFramework"
  SET source3="\\GPAWEB\NightlyBuilds\openHistorian\Beta\Libraries\*.*"
  SET target3="..\..\Source\Dependencies\TVA"
  SET solution="..\..\Source\Synchrophasor.sln"
  SET sourcetools=..\..\Source\Applications\openPDC\openPDCSetup\
  SET frameworktools=\\GPAWEB\NightlyBuilds\TVACodeLibrary\Beta\Tools\
  SET historiantools=\\GPAWEB\NightlyBuilds\openHistorian\Beta\Tools\
  SET /p checkin=Check-in updates (Y or N)? 
  
negative.code: ECHO Getting latest version...
  %tfs% get %target1% /version:T /force /recursive /noprompt
  %tfs% get %target2% /version:T /force /recursive /noprompt
  %tfs% get %target5% /version:T /force /recursive /noprompt
  
  ECHO.
  ECHO Checking out dependencies...
  %tfs% checkout %target1% /recursive /noprompt
  %tfs% checkout %target2% /recursive /noprompt
  %tfs% checkout %target5% /recursive /noprompt
  %tfs% checkout "%sourcetools%ConfigCrypter.exe" /noprompt
  %tfs% checkout "%sourcetools%ConfigurationEditor.exe" /noprompt
  %tfs% checkout "%sourcetools%HistorianPlaybackUtility.exe" /noprompt
  
  ECHO.
  ECHO Updating dependencies...
  XCOPY %source5% %target5% /Y /U
  XCOPY %source4% %target4% /Y /U
  XCOPY %source3% %target3% /Y /U
  XCOPY %source2% %target2% /Y /U
  XCOPY %source1% %target1% /Y /U
  XCOPY "%frameworktools%ConfigCrypter\ConfigCrypter.exe" "%sourcetools%ConfigCrypter.exe" /Y
  XCOPY "%frameworktools%ConfigEditor\ConfigEditor.exe" "%sourcetools%ConfigurationEditor.exe" /Y
  XCOPY "%historiantools%HistorianPlaybackUtility\HistorianPlaybackUtility.exe" "%sourcetools%HistorianPlaybackUtility.exe" /Y
  