You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I wanted to exclude certain files/packages from getting instrumented in clover.
Used following different entries in build.xml
<clover-setup>
<files>
<patternset>
<exclude name="**/*Utils.java"/>
</patternset>
</files>
</clover-setup>
and
<clover-setup>
<files excludes="com/test/project/web/utils/Utils.java, **/test/project/web/utils/**" />
</clover-setup>
But the file Utils.java and others in the package are still getting instrumented.
Using Cloverfor ant version 3.1.4.
Hi Anuj!
I'm a little late to answer I was just dealing with the same problem that you did. I also use the correct excludes and it was instrumenting every class.
The problem was that I was using ant or antcall, just add to the call the property "inheritrefs" in "true".
<ant target="build" inheritrefs="true" />
Hope this helps!
Regards,
Gabriel
<clover-setup
>
<files>
<exclude name=
"
**/*EmcUtils.java"
/>
</files>
</clover-setup>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.