Clover Knowledge Base : Properties such as Excludes is not being passed on to antcall tasks


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.


  • 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