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

Recording files are generated but getting warning for report generation

Rupesh Rajkumar Bharuka January 22, 2019

Hi All,

I am using maven for clover integration report generation. 

When I build my project it has generated clover.db file and few more files with hashcode suffixed to it.

I have specified clover.db file path in java option as,

-Dclover.initstring.basedir={location of the db files that were created by the clover}

 

I have restarted the application and performed some operations like login, logout etc..

 

I can see that clover has added few more files suffixed with hascode that means it's working fine.

 

However, I am using java command to generate clover report but getting warning as below,

Java Command:

java -cp <path_of_clover_jar> com.atlassian.clover.reporters.html.HtmlReporter -i <path_of_clover.db_file> -o <path_of_output_directory>

 

Warning Message:

Clover: Commercial License registered to <company_name>

WARN: No coverage recordings found. No report will be generated.

  

Can anyone please help me here?

1 answer

0 votes
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2019

As you specified the -Dclover.initstring.basedir then recording files the most probably have been written to a different location than you specify in the HtmlReporter command. Please check paths used. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events