You'll need a Filtered Source Control Block...see here http://confluence.public.thoughtworks.org/display/CCNET/Filtered+Source+Control+Block
You should be able to adapt the example easily enough :o) Cheers, Jay On Dec 9 2009, 12:15 pm, kelimak <[email protected]> wrote: > Hello, > I have followed structure of directiories in TFS > > $/project/main/PROJ/dir1 > $/project/main/PROJ/dir2 > $/project/main/PROJ/dir3 > $/project/main/PROJ/dir4 > $/project/main/PROJ/dir5 > > To compile solution in "$/project/main/PROJ/dir1/proj.sln" I need > sources from "$/project/main/PROJ/dir2" aswell. > > How could I configure ccnet.config to download ONLY $/project/main/ > PROJ/dir1 and $/project/main/PROJ/dir2 ??? > Is there anything simiilar to ' Type="Cloak" ' which could be used in > workspacemapping.xml in TFS ? > > I have no idea how to do this in CCNET , please Help. > > Here is my ccnet.config: > > --- > <project name="Proj"> > <sourcecontrol type="vsts"> > <server>tfs</server> > <project>$/project/Main/PROJ/</project> > <workingDirectory>C:\CCNetBuilds\PROJ\</workingDirectory> > <workspace>PROJ</workspace> > <autoGetSource>true</autoGetSource> > <cleanCopy>false</cleanCopy> > </sourcecontrol> > <tasks> > > <msbuild> > <executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</ > executable> > <workingDirectory>C:\CCNetBuilds\PROJ\dir1\</workingDirectory> > <projectFile>proj.sln</projectFile> > <targets>Build</targets> > </msbuild> > --- > regards
