Your configuration looks OK to me - the only thing I can think of is
that your paths are not being recognised.

Instead of:
                <pathFilter>
                        <pattern>/suncity/source/branches/author/build/
scripts/version.txt</pattern>
                </pathFilter>
try
                <pathFilter>
                        <pattern>**/version.txt</pattern>
                </pathFilter>

This will ignore ALL files called version.txt irrespective of what
folder they are in. If this works that you can refine the path to be
more specific if required.

Hope this helps
Dave

On Mar 14, 4:24 am, maverick80 <[email protected]> wrote:
> This didn't help either. The only thing I now know is, this has to do
> with the path filters. Tried to put the complete path (inclusive of
> the http://<servername>) as well but that didn't help either.
>
> Regards,
> Nikhil
> On Feb 27, 12:16 pm, Ruben Willems <[email protected]> wrote:
>
> > Hi
>
> > maybe a stupid thing, but did you check the casing?
> > Version.txt != version.txt
>
> > as an alternative, maybe you can set caseSensitive=false in the pathFilter
> > element
> > see the docs
>
> > another possibility :
> > you have
> > <inclusionFilters>
> >   <pathFilter>
> >       <pattern>/suncity/source/branches/author/**/*.*</pattern>
> >   </pathFilter>
> > </inclusionFilters>
>
> > but I think the following may do the trick
> > <inclusionFilters>
> >   <pathFilter>
> >       <pattern>/suncity/source/branches/author/**/*</pattern>
> >   </pathFilter>
> > </inclusionFilters>
>
> > so a * in the end and not *.*
>
> > hope this helps, let us know if it did or not.
>
> > with kind regards
> > Ruben Willems
>
> > On Thu, Feb 26, 2009 at 10:29 AM, maverick80 <[email protected]> wrote:
>
> > > i'm having a bit of probelm understanding the filtered source control
> > > for SVN. Here is the block from my ccnet.config:
>
> > > <sourcecontrol type="filtered">
> > >                <sourceControlProvider type="svn">
> > >                        <trunkUrl>
> > >http://svnserver:81/svn/suncity/source/branches/author</
> > > trunkUrl>
>
> > >  <workingDirectory>G:\Suncity\Source\branches\author</
> > > workingDirectory>
> > >                        <username>usr</username>
> > >                        <password>pwd</password>
> > >                        <timeout units="seconds">3600</timeout>
> > >                </sourceControlProvider>
> > >                <inclusionFilters>
> > >                        <pathFilter>
>
> > >  <pattern>/suncity/source/branches/author/**/*.*</pattern>
> > >                        </pathFilter>
> > >                </inclusionFilters>
> > >                <exclusionFilters>
> > >                <pathFilter>
>
> > >  <pattern>/suncity/source/branches/author/build/scripts/
> > > version.txt</pattern>
> > >                </pathFilter>
> > >                </exclusionFilters>
> > >        </sourcecontrol>
>
> > > The purpose was to exclude version.txt to trigger the build. Any other
> > > check-ins should trigger. Now, it is not triggering the builds for any
> > > check-in.
>
> > > I suspect this is to with the <inclusionFilters> I'm using. Could
> > > someone guide me on this?
>
> > > Regards,
> > > Nikhil
> > > On Feb 4, 12:51 pm, Nikhil <[email protected]> wrote:
> > > > Thanks Ruben...
>
> > > > On Feb 4, 12:47 pm, Ruben Willems <[email protected]> wrote:
>
> > > > > Hi
>
> > > > > take a look at the filtered source control blockhttp://
> > > confluence.public.thoughtworks.org/display/CCNET/Filtered+Sour...
>
> > > > > this should cover it
>
> > > > > with kind regards
> > > > > Ruben Willems
>
> > > > > On Wed, Feb 4, 2009 at 8:44 AM, Nikhil <[email protected]> wrote:
>
> > > > > > We check-in the version number of each build in a file.
>
> > > > > > Now there are times when no check-in happens on a day apart from the
> > > > > > version file (checked in after the daily build). CCNET takes the
> > > > > > version file commit as a modification the next day and triggers the
> > > > > > build.
>
> > > > > > I want to curb this and do not want a build in case there are no
> > > check-
> > > > > > ins other than version file. Is there a way to get this done inside
> > > > > > CCNET?
>
> > > > > > If I can exclude the file from getting updated daily or just check
> > > > > > that this is the only update and ask CCNET to not trigger the build
> > > > > > today?

Reply via email to