Skip to content

Commit bfc4e24

Browse files
committed
include the pathfilter wildcards for the filter source control (Task ccnet#78)
1 parent 32ce421 commit bfc4e24

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

createDocs.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
echo Compiling
2+
Tools\NAnt\NAnt.exe clean build -buildfile:ccnet.build -D:codemetrics.output.type=HtmlFile -nologo -logfile:nant-build.log.txt %*
3+
14
set outputfolder=docgen
25

36
rmdir %outputfolder% /s /q

project/core/sourcecontrol/PathFilter.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ namespace ThoughtWorks.CruiseControl.Core.Sourcecontrol
66
{
77
/// <summary>
88
/// The PathFilter can be used to filter modifications on the basis of their file path.
9+
/// <code>
10+
/// ** for any directory matching
11+
/// * means zero or more of any characters
12+
/// ? means one and only one of any character
13+
/// </code>
914
/// </summary>
1015
/// <title>PathFilter</title>
1116
/// <version>1.0</version>
@@ -17,7 +22,17 @@ namespace ThoughtWorks.CruiseControl.Core.Sourcecontrol
1722
/// </code>
1823
/// </example>
1924
/// <remarks>
20-
/// <includePage> PathFilter Wildcards</includePage>
25+
/// <code>
26+
/// example | Matches
27+
/// --------------------+-----------------------------------------------------------------------------------------------
28+
/// **/sources/**/*.* | Matches any file in /working/sources /working/sources/CVS /working/build/target/sources
29+
/// *.* | any file that is in the root of the repository.
30+
/// /theFolder/*.* | any file that is in theFolder
31+
/// **/theName.dat | all file named 'theName.dat' in any folder of the repository
32+
/// **/*.* | matches all files in any folder
33+
/// **/the*.dat | matches all files that start with 'the' and have a dat extention in any folder
34+
/// **/the*Folder/*.* | matches all files in folders that start with 'the' and end with 'Folder'
35+
/// </code>
2136
/// </remarks>
2237
[ReflectorType("pathFilter")]
2338
public class PathFilter : IModificationFilter

0 commit comments

Comments
 (0)