Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jacoco4sbt not working #56

Open
cpbhagtani opened this issue Aug 18, 2015 · 2 comments
Open

jacoco4sbt not working #56

cpbhagtani opened this issue Aug 18, 2015 · 2 comments

Comments

@cpbhagtani
Copy link

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

@stringbean
Copy link
Member

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

@csekol
Copy link

csekol commented May 27, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants