Is it an acceptable way to use in build time <clover-setup initstring.basedir="PATH" ?

<clover-setup initstring.basedir=".db file path in the machine where the s/w is deployed"

Can we use it in this way by putting this line in build.xml and placing the .db file in the same location.

We are trying to find the coverage of an application in the server.

 

1 answer

This widget could not be displayed.

Yes, in case you are building and running and different machines, you can copy the clover.db file(s) to a second machine and put in the same location. Clover hardcodes the "initstring" path in instrumented code, so it should be able to find the file.

Alternatively, you can use -Dclover.initstring or -Dclover.initstring.basedir runtime options to instruct Clover where to find the database file. See https://confluence.atlassian.com/clover/jvm-properties-687218054.html for more details.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 7 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

36 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you