I'm trying to find ways to use ccnet with TFS2008 (and/or 2010) with the overwrite option
Is there a way short of checking out the CCnet source and patching it?
I'm trying to find ways to use ccnet with TFS2008 (and/or 2010) with the overwrite option
Is there a way short of checking out the CCnet source and patching it?
Although I'm not experienced in TFS this should be easy enough using the executable task:
<task>
<exec>
<executable>C:\YourPathToTFS\tf</executable>
<buildArgs>get itemspec /overwrite</buildArgs>
</exec>
</task>
EDIT: This would be a more general approach:
<sourcecontrol type="vsts">
<server>http://theurl:8080</server>
<project>$\YourProject</project>
<force>true</force>
</sourcecontrol>
The <force>
-option seems to correspond to TFS /force
switch which combines /all
and /overwrite
switches.
we checked out the source and built one that allows
<overwrite>true</overwrite>