[ 
https://issues.apache.org/jira/browse/KAFKA-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281433#comment-14281433
 ] 

Jun Rao commented on KAFKA-1873:
--------------------------------

Hmm, our build script is the following. It explicitly specifies 
scalatest_2.10-1.9.1.jar for scala 2.10 and our tests have been running fine. 
Are you sure this is an issue?

    if (scalaVersion.startsWith('2.10')) {
      testCompile 'org.scalatest:scalatest_2.10:1.9.1'
    } else if (scalaVersion.startsWith('2.11')) {
      compile 'org.scala-lang.modules:scala-xml_2.11:1.0.2'
      compile 'org.scala-lang.modules:scala-parser-combinators_2.11:1.0.2'
      testCompile "org.scalatest:scalatest_2.11:2.2.0"
    } else {
      testCompile "org.scalatest:scalatest_$scalaVersion:1.8"
    }


> scalatest_2.10-1.9.1.jar of core build path is cross-compiled with an 
> incompatible version of Scala (2.10.0)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1873
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1873
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.2
>         Environment: Mac OSX Yosemite
> Oracle JDK 1.7.0_72
> eclipse Mars M4
>            Reporter: Sree Vaddi
>            Priority: Minor
>              Labels: 2.10.0, core, incompatible, scala, scalatest
>             Fix For: 0.8.2
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When you setup your development environment, you see this in Problems for the 
> project 'core'.
> Description   Resource        Path    Location        Type
> scalatest_2.10-1.9.1.jar of core build path is cross-compiled with an 
> incompatible version of Scala (2.10.0). In case this report is mistaken, this 
> check can be disabled in the compiler preference page.    core            
> Unknown Scala Version Problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to