sbt-jacoco icon indicating copy to clipboard operation
sbt-jacoco copied to clipboard

jacoco4sbt not working

Open cpbhagtani opened this issue 9 years ago • 2 comments

I want to setup Jacoco4sbt for my scala project. I followed the setup instruction mentioned here https://github.com/sbt/jacoco4sbt.

when I ran "sbt jacoco:cover" it throws the following error

build.sbt:8: error: not found: value jacoco

jacoco.settings

^

[error] Type error in expression

Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

My sbt version = 0.13 scala version = 2.10.4

cpbhagtani avatar Aug 18 '15 06:08 cpbhagtani

Is this still an issue for you? If it is can you please try with sbt-jacoco 3.0.2?

stringbean avatar Oct 03 '17 12:10 stringbean

Same here. I tried with sbt-jacoco versions: 3.0.2, 3.1.0 and 3.2.0

I am trying to run sbt-jacoco on a play java application sbt version: 0.13.8 play version: 2.4.11 scala version: 2.11.6

If I remove "jacoco.settings" from build.sbt and execute "sbt jacoco", it runs, generates the exec file, but not the report. I can generate the report based on the exec file using cli. Is there a separate command to generate the report?

csekol avatar May 27 '20 05:05 csekol