문제

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?

도움이 되었습니까?

해결책 3

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/**

다른 팁

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.

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top