I want to test a particular clover configuration wherein I want to enable clover for a jar.
This jar is used by multiple webapps(wars). And I want to generate clover recording files and clover reports for this jar only for a particular webapps instead of all webapps which use this jar.
Why do you need such specific configuration?
The best is to create two versions of the JAR library: one with Clover instrumentation and one without it and package webapp WAR files using appropriate version of the jar.
There is no switch which allows to disable Clover at runtime. The only 'hack' you could use is to make clover.db inaccessible - without database Clover's coverage recorders will not start.
Update: Our AMA with @Serhat Can is complete! Thank you everyone for taking the time to write your questions and participate, you are the folks that make the community enriching and fun! If...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events