0

We are using Hudson as our build machine and I am trying to configure the excludes fileset for the Compilier Warnings plugin. Hudson parses the build log to determine warnings/errors and our Clover scripts output duplicates of real warnings.

As documented by Hudson you can configure an ANT fileset to exclude certain warnings:

  Warnings to ignore:: Fileset 'excludes' setting that specifies the warnings to exclude from the report (based on their filename).

I am getting the following warnings (duplicates):

C:/vsfz/temp/1/clover1710786373818922904.tmp/src4952837385592305293.tmp/corp/app/path
....

I have set the excludes fileset to:

*vsfz/temp/*/clover*/**

I expected the Fileset to match the warnings and for them not be added to the Compiler Warnings report, this is not the case. Does anyone see a problem with the above Fileset definition?

Ates Goral
  • 137,716
  • 26
  • 137
  • 190
Syntax
  • 2,155
  • 2
  • 23
  • 34
  • Thanks Bernie & Peter, I will give this a go (when I get back to work on Monday) and will update this question with results. – Syntax Jul 31 '10 at 00:21

3 Answers3

0

Try something like:

C:/vsfz/temp/*/clover*/**

or

**/vsfz/temp/*/clover*/**

another problem might be that clover* doesn't match correctly so that you have to write it as clover*.* but I don't think this is the issue.

Peter Schuetze
  • 16,185
  • 4
  • 44
  • 58
  • \*\*/vsfz/temp/*/clover*/*\* did not work unfortunately; I am trying with *.* for tonight's build. – Syntax Aug 06 '10 at 03:05
  • So far I have had no luck, I will continue testing and report back when I find anything that works. – Syntax Aug 13 '10 at 02:20
0

I was just messing with this today and I could only get it to work when I specified the file extension*.csor maybe *.* would work?

anyway **/old*/**/*.cs worked for me.

Hope this helps.

Bernie
  • 13
  • 5
0

I managed to get this going (it has been on the back burner for quite some time now).

The template that I ended up using:

**/temp/**
Syntax
  • 2,155
  • 2
  • 23
  • 34