I'm sorry, I misinterpreted how the filtered source control block
works; it only filters modifications.

In my example, I thought it would exclude getting the matched files
all together, but that is not the case.


On Feb 25, 9:02 pm, rami <[email protected]> wrote:
> Hi.
>
> I am using CCNet v1.4.2.14.
>
> I have a filtered source control block in ccnet.config as follows
>
> <sourcecontrol type="filtered">
>         <sourceControlProvider type="filesystem">
>           <repositoryRoot>D:\Working\CompanyName</repositoryRoot>
>           <autoGetSource>true</autoGetSource>
>           <ignoreMissingRoot>true</ignoreMissingRoot>
>         </sourceControlProvider>
>         <exclusionFilters>
>           <pathFilter>
>             <pattern>//_sg*/*</pattern>
>           </pathFilter>
>         </exclusionFilters>
>       </sourcecontrol>
>
> And for example, on the filesystem, I have two files:
> D:\Working\CompanyName\ProjectName\_sgvault\123456.123456
> D:\Working\CompanyName\ProjectName\_sgvault\state
>
> The _sgvault folder is marked as hidden.
>
> When a build on the project is invoked, those files get copied to the /
> project/workingDirectory when I had expected they would not because of
> the pathFilter pattern.

Reply via email to