Symptoms
In your build.xml file you use antcall to run some tasks. You have defined some excludes, but when looking at the logs, you see:
file: Setup scanner in dir C:\path\to\example\dir with patternSet{ includes: [] excludes: [] }
i.e. the excludes is not being picked up.
Cause
- By default, the inheritRefs for antcall task is set to false. Thus, all the references will not pass to the sub-build files.
<files>
patternset is used instead of<fileset>
patternset
Resolution
- Change the <files/> patternset into a <fileset/> - http://confluence.atlassian.com/display/CLOVER/clover-setup#clover-setup-Fileset
- Set inheritrefs="true" in all <antcall> tasks - http://ant.apache.org/manual/CoreTasks/antcall.html