[JIRA] Created: (CC-1006) CCNET 1.5 service is force getting all source code in every build from TFS

"Pratik (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <1568427047.1285309969845.JavaMail.jira@chidmzhosting02.thoughtworks.com>
CCNET 1.5 service is force getting all source code in every build from TFS
--------------------------------------------------------------------------

                 Key: CC-1006
                 URL: http://jira.public.thoughtworks.org/browse/CC-1006
             Project: CruiseControl
          Issue Type: Bug
          Components: Core Application
            Reporter: Pratik
            Priority: Critical


The CCNET release version 1.5 and the latest nightly build has serious bug with TFS 2010. It is force getting all source code recursively on every build. This is huge performance killer as well as makes our source code build everytime which means new dlls are generated every build even though source code has not changed and thus destoying our clickonce delta upgrade policy.

It is executing TF.exe with /force /recursive options needlessly.

The relevant ccnet.config file section is:

<sourcecontrol type="vsts" autoGetSource="true" applyLabel="false" >
      <server>http://tfsserver:8080/tfs/DefaultCollection</server>
      <project>$/Project/MAIN</project>
      <cleanCopy>false</cleanCopy>
      <workingDirectory>D:\CCNetProjects02\Project\MAIN</workingDirectory>
      <workspace>build_CCNet</workspace>
      <deleteWorkspace>false</deleteWorkspace>
</sourcecontrol>

Using processexplorer I captured the command line used to start TF.exe

Release version 1.5.7256.1:
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\TF.exe" get /force /recursive /noprompt "D:\CCNetProjects02\Project\MAIN"

Latest version 1.5.7385.71:
"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe" dir /folders /server:http://tfsserver:8080/tfs/DefaultCollection "$/Project/MAIN"
"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe" get /force /recursive /noprompt "D:\CCNetProjects02\Project\MAIN"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.