I have an application that calls several jar libraries that are provided with instruments clover, how do I get a report of all classes in all these libraries together? I need to somehow merge files clover.db, that generated for each jar libraries?
I assume that you have instrumented every library separately so that you have several clover.db files.
If yes, then first you have to make all of them accessible at runtime. So either:
Next, you have to generate report using the merged database.
Alternatively, you could instrument all libraries and the application together, producing a single Clover database, which you could next use at runtime and for reporting. For example, if you're using Maven and have one master pom.xml (multi-module project), set the <singleCloverDatabase>true</singleCloverDatabase> for clover2:setup.
set absolute paths in initstring for each library during build and use the same paths during application execution (run application on the same machine where was compiled, for instance) or
set relative paths in initstring for each library during build and provide clover.initstring.basedir parameter at runtime (databases will be located in "clover.initstring.basedir/initstring")
How I can do it? (In pom.xml on webserver or anywhere else?)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Heya, Hipchat friends! We’re so happy you’re checking out Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...
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!
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