Hi all,
I have a project block configured with the multi block and then,
inside, a couple of filter blocks as so:
<sourcecontrol type="multi">
<sourceControls>
<filtered>
<sourceControlProvider type="vault">
[...credentials snipped ...]
<useWorkingDirectory>false</useWorkingDirectory>
<autoGetSource>True</autoGetSource>
<cleanCopy>true</cleanCopy>
<executable>C:\Program Files\SourceGear\Vault
Client
\vault.exe</executable>
</sourceControlProvider>
<inclusionFilters>
<pathFilter>
<pattern>**\*.FI</pattern>
</pathFilter>
</inclusionFilters>
</filtered>
<filtered>
<sourceControlProvider type="vault">
<!-- Retreive latest Build Script -->
<executable>C:\Program Files\SourceGear\Vault
Client\vault.exe</
executable>
<ssl>false</ssl>
<autoGetSource>True</autoGetSource>
<cleanCopy>True</cleanCopy>
<useWorkingDirectory>false</useWorkingDirectory>
</sourceControlProvider>
<inclusionFilters>
<pathFilter>
<pattern></pattern>
</pathFilter>
</inclusionFilters>
</filtered>
</sourceControls>
</sourcecontrol>
If I make a change to the first "watched" vault path (the one with a
filter defined) it works as expected. If, however, I make a change
to the second vault path, the build does not trigger. Oddly, the
log picks up both changes and even notes that modifications have been
detected. Log is as follows:
(Change detected and accepted to first Vault path)
2010-10-12 09:02:59,635 [ATEST Data:DEBUG] Modification Modification:
(Type=Checked
in,ChangeNumber=343670,Version=,Comment=,Url=,IssueUrl=,EmailAddress=)
was included by filter PathFilter **\*.FI.
2010-10-12 09:02:59,635 [ATEST Data:DEBUG] Modification Modification:
(Type=Checked in,,ModifiedTime=10/12/2010 9:01:59
AM,Version=,Comment=,Url=,IssueUrl=,EmailAddress=) was accepted by the
filter specification.
(Change detected and rejected to second Vault path)
2010-10-12 09:02:59,635 [ATEST Data:DEBUG] Modification Modification:
(Type=Checked in,ModifiedTime=10/11/2010 2:58:43
PM,ChangeNumber=343606,Version=,Comment=modification that will
hopefully not force a build,Url=,IssueUrl=,EmailAddress=) was not
accepted by the filter specification.
2010-10-12 09:03:06,385 [ATEST Data:INFO] 4 modifications detected.
Thanks in advance for your help,
Raj