Getting Your First Copy of The Source Code

Aug 23, 2007 at 11:21 AM
Hi,

i tried to download the source code of two different projects:
- moss07searchmanager
- searchasmx

First I downloaded the cpc and followed the installation 'guide' on codeplex
After this I created the configuration files:
- tfc.exe.config
<configuration>
<appSettings>
<add key='ForceBasicAuth' value='true'/>
<add key='TryDefaultCredentials' value='true'/>
</appSettings>
</configuration>

- cpc.exe.config
<configuration>
<appSettings>
<add key='CodePlexWebServiceUrl' value='http://www.codeplex.com/services/ProjectInfoService.asmx'/>
<add key='AnonymousUsername' value='anonymous'/>
</appSettings>
</configuration>

Than I started my first trial:

PROMPT>cpc co moss07searchmanager /u rastadiva /p *****************
A .

PROMPT>dir

Verzeichnis von PROMPT

23.08.2007 11:36 <DIR> .
23.08.2007 11:36 <DIR> ..
0 Datei(en) 0 Bytes
2 Verzeichnis(se), 20.491.030.528 Bytes frei

No files in the folder PROMPT where I expected all the project files.
The only thing I found was the folder _tfs with the file entries.xml:
<?xml version="1.0"?>
<entries xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<entry name="" kind="folder" url="https://tfs03.codeplex.com:443/" path="$/moss07searchmanager/" id="94143" changeset="6163" shadow="75b3540cf093476582de199cf7d94afe" />
</entries>

The second trial with searchasmx but anonymous checkout. The same result.

What is the problem? I've done something wrong or may be a problem of our internet proxy?

Thanks for help.
rastadiva



Coordinator
Aug 23, 2007 at 5:34 PM
For starters, you shouldn't need those .config files. The settings you've set for cpc.exe are already the defaults, and the settings for tfc are probably not right either (since anonymous access is only supported on CodePlex, and most TFS servers don't use basic auth).

Second, I went to look at moss07searchmanager, and it has no source code:
http://www.codeplex.com/moss07searchmanager/SourceControl/ListDownloadableCommits.aspx

Ditto searchasmx:
http://www.codeplex.com/searchasmx/SourceControl/ListDownloadableCommits.aspx

So what you're seeing is exactly what I'd expect. If you want something with source code in it, try getting the CPC client source:

cpc co CodePlexClient
Coordinator
Aug 23, 2007 at 6:07 PM
By the way, though your DIR command didn't show anything, there is actually stuff there. We use a hidden folder named _tfs to store information about the TFS server your source code is on. You can type "cpc info" in a directory and it will show you that information, such as:

C:\Dev\CodePlexContainer> cpc info
Path: .
Item Type: Folder
Status: Unmodified
TFS Url: https://tfs01.codeplex.com:443/
TFS Project Path: $/ObjectBuilder/Samples/CodePlexContainer/
Item ID: 311001
Revision: 23110