I have a ccnet.config project which works, other than it takes about
15 minutes to search the repositoryRoot folder looking for
modifications. The folder is around 90 GB in size.
I would like to exclude all subfolders under the repositoryRoot and
only look for modifications of the finish.txt file.

Is there something I can do differently with the exclusionFilters? Is
there something better than filesystem I can use?

Here is an example of the folder structure I am trying to monitor and
a snippet of the ccnet.config file I am using:

    \\server\share\binaryLibrary\finish.txt
    \\server\share\binaryLibrary\1\files\
    \\server\share\binaryLibrary\2\files\
    \\server\share\binaryLibrary\3\files\
    \\server\share\binaryLibrary\4\files\
    \\server\share\binaryLibrary\5\files\

      <sourcecontrol type="multi">
        <sourceControls>
          <filtered>
            <sourceControlProvider type="filesystem">
              <repositoryRoot>\\server\share\binaryLibrary</
repositoryRoot>
              <ignoreMissingRoot>false</ignoreMissingRoot>
              <autoGetSource>false</autoGetSource>
            </sourceControlProvider>
            <exclusionFilters>
              <pathFilter caseSensitive="false">
                <pattern>\\server\share\binaryLibrary\**\files\**\*.*</
pattern>
              </pathFilter>
            </exclusionFilters>
            <inclusionFilters>
              <pathFilter caseSensitive="false">
                <pattern>\\server\share\binaryLibrary\finish.txt</
pattern>
              </pathFilter>
            </inclusionFilters>
          </filtered>
        </sourceControls>
      </sourcecontrol>

Reply via email to