Q: Why does Clover instrument classes I have excluded using the <exclude> element of the <clover-setup> task?There are two possible causes:
<clover-setup> task. By default Ant does not pass these patternsets to the sub-builds. If you are using<clover-setup> done in the master-build, you will need to explicitly pass these patternsets as references:
<ant ...> <reference refid="clover.files"/> <reference refid="clover.useclass.files"/> </ant>