Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tim Soethout
    @TimSoethout
    gittl8
    Augustin Borsu
    @aborsu
    Hello I'm sorry to disturb. I found your presentation on scala-java code coverage, but I'm having trouble understanding how it all connects. Is there a video of your october meetup?
    Tim Soethout
    @TimSoethout
    @aborsu Hi, I don't think there is a video. Maybe you can try looking at the diffs between the branches
    The slides should contain links to all the tooling used.
    Which part is unclear?
    Augustin Borsu
    @aborsu
    I'm afraid I'm a bit lost with sonarqube. (Which I've never used before). I saw that you had to add an ip adress in the pom.xm file, but how should I launch the project so that it sends these results to sonarqube? Mvn test doesn't seem to be doing anything.
    Tim Soethout
    @TimSoethout
    mvn sonar:sonar
    you need to replace the ip adress in the pom with your sonar's ip and database
    Augustin Borsu
    @aborsu
    Ok there is a clear improvement. Now it fails because I don't have a license for the vb module for sonar. Apparently I'm suppose to exclude it. Looking for that now
    Seems to be working. Thanks alot.
    Tim Soethout
    @TimSoethout
    I don't know about the vb-module. My guess is you don't need it :)
    Augustin Borsu
    @aborsu
    I apparently installed it on sonarqube without paying attention.
    By the way I haven't been able to use your docker example of sonarqube. The sonarqube docker container exits with an error.
    I'm not sure why (I'm also new to docker) so If I find something I will let you know.
    Thank you for your help.
    Tim Soethout
    @TimSoethout
    Ok, you're welcome!
    Grzegorz Slowikowski
    @gslowikowski
    Hi. I've read http://blog.timmybankers.nl/scala-java-maven-slides/#/5/4 and wanted to let you know, that sbt-compiler-maven-plugin is still maintained. Its new location is http://github.com/sbt-compiler-maven-plugin/sbt-compiler-maven-plugin.
    Tim Soethout
    @TimSoethout
    @gslowikowski Thanks for the update! I also see you released a new version last month. Do you know of any major differences with the scala-maven-plugin?
    Grzegorz Slowikowski
    @gslowikowski
    Simpler configuration, supports latest SBT version (0.13.9), some internal differences (fixes). It supported SBT incremental compilation before scala-maven-plugin did, but it's not important now. Supports different versions of SBT, but this is not important too, latest is enough (there were differences in incremental compilation cache file format between SBT 0.12.x and early versions of 0.13.x, but now its stable).
    Tim Soethout
    @TimSoethout
    Yes the incremental compilation was a real lifesaver a year back.
    Justin Peel
    @jpeel
    @TimSoethout I have looked at your Java/Scala combination code coverage material, but I have a few questions. First, it says in your slides that the project uses Java 6. Have you tried doing code coverage like this with Java 8 code? I'm having some problems - especially with using cobertura. Also, it looks like you the scala-java-maven-code repository is using Jacoco. Have you found a way to get Jacoco and Scoverage to work well together?
    Tim Soethout
    @TimSoethout
    @jpeel At the moment we're using JDK8 to compile to JRE7, so I don't know about Java 8 sources unfortunately.
    @jpeel I looked into jacoco way back and I think it works, but it will give you lots of false positives when used on Scala code. i.e. no coverage on all the created bytecode for case classes
    So for us jacoco was not usable at that time, and I didn't investigate anymore on how to use it next to scoverage
    Justin Peel
    @jpeel
    @TimSoethout Thanks for the replies. It looks like I'll have to go with Jacoco for now because we need the Java 8 features for now. I hope to move all of the code to Scala.