With /**/adt_dispatcher/. you match whatever file in whatever adt_dispatcher
directory but you don't crawl into adt_dispatcher's subdirectories. That's
what the doc wants to say by
" Pattern "/Kunigunda/Sources/*.*" matches all files in "/Kunigunda/Sources"
folder."
With /**/adt_dispatcher/**/*.* you match all files in whatever
adt_dispatcher directory and its subdirectories.

I was wrong saying about "." and one caracter, that behavior is for "?" in
Cruise Control .NET.

With kind regards,
Benjamin


2010/8/16 Michael <[email protected]>

> Benjamin
> Thanks for the response.
>
> I changed the path filter to
> /**/adt_dispatcher/**/*.*
>
> and it now works - thank you.
>
> But, I'm still a little confused why the original filter didn't work,
> with a single "." at the end. The documentation states this will match
> "any file name and extension", which should be identical to "*.*" as
> well as a single star, "*". In theory, any of these three should do
> the same thing
>
> Is the documentation wrong?
> http://confluence.public.thoughtworks.org/display/CCNET/PathFilter
>
> thanks
> Michael
>
> On Aug 7, 1:32 pm, Benjamin Baumann <[email protected]> wrote:
> > Hello,
> >
> > I'm not an expert in regular expression but I think your expression match
> > whatever file in a directory named adt_dispatcher which has a name of one
> > caracter (the ".").
> >
> > I would try
> > /**/adt_dispatcher
> > or
> > /**/adt_dispatcher/**/*.*
> >
> > With kind regards,
> > Benjamin Baumann
> >
> > 2010/8/6 Michael <[email protected]>
> >
> > > Hi
> > > I'm using a mixed multi and filtered source control block but my
> > > exclusionfilter pathfilter doesn't seem to be doing the job correctly,
> > > as the build still gets triggered on this directory
> >
> > > My path filter looks like this:
> > > <exclusionFilters>
> > >   <pathFilter>
> > >      <pattern>/**/adt_dispatcher/.</pattern>
> > >   </pathFilter>
> > > </exclusionFilters>
> >
> > > And the following svn modification is triggering the build
> > >  /GatewayDevelopment/trunk/adt_dispatcher/src/dispatcher.h
> >
> > > Shouldn't this pathfilter match this file path and not trigger the
> > > build?
> >
> > > Any ideas what I'm missing?
> >
> > > thanks
> > > Michael
>

Reply via email to