Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes

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
TAGS
Community showcase
Published in Opsgenie

Investigate deployment-related incidents with Bamboo and Opsgenie together

Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...

106 views 1 4
Read article

Community Events

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

Events near you