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

SBT build fail when targetting scala 2.8.2 #26

Open
hanxue opened this issue Aug 29, 2013 · 0 comments
Open

SBT build fail when targetting scala 2.8.2 #26

hanxue opened this issue Aug 29, 2013 · 0 comments

Comments

@hanxue
Copy link

hanxue commented Aug 29, 2013

I am trying to generate a jar file targetting scala 2.8.2, and I changed scalaVersion to 2.8.2 in build.sbt

// scalaVersion := "2.10.0"
scalaVersion := "2.8.2"

This result in the failure

$ ./sbt package
[info] Set current project to zeromq-scala-binding (in build file:/E:/Projects/G
itHub/zeromq-scala-binding/)
Getting Scala 2.8.2 ...
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.8.2/sc
ala-compiler-2.8.2.jar ...
        [SUCCESSFUL ] org.scala-lang#scala-compiler;2.8.2!scala-compiler.jar (21
303ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.8.2/sca
la-library-2.8.2.jar ...
        [SUCCESSFUL ] org.scala-lang#scala-library;2.8.2!scala-library.jar (1253
9ms)
downloading http://repo1.maven.org/maven2/jline/jline/0.9.91/jline-0.9.91.jar ..
.
        [SUCCESSFUL ] jline#jline;0.9.91!jline.jar (1232ms)
:: retrieving :: org.scala-sbt#boot-scala
        confs: [default]
        3 artifacts copied, 0 already retrieved (15447kB/515ms)
[info] Updating {file:/E:/Projects/GitHub/zeromq-scala-binding/}default-10d74e..
.
[info] Resolving org.scala-lang#scala-library;2.8.2 ...
[info] Resolving net.java.dev.jna#jna;3.0.9 ...
[info] Resolving com.github.jnr#jnr-constants;0.8.2 ...
[info] Resolving org.scalatest#scalatest_2.10;2.0.M5b ...
[info] Done updating.
[info] Compiling 1 Scala source and 3 Java sources to E:\Projects\GitHub\zeromq-
scala-binding\target\scala-2.8.2\classes...
[error] E:\Projects\GitHub\zeromq-scala-binding\src\main\scala\org\zeromq\ZeroMQ
Library.scala:27: value beans is not a member of package scala
[error] import scala.beans.BeanProperty
[error]              ^
[error] E:\Projects\GitHub\zeromq-scala-binding\src\main\scala\org\zeromq\ZeroMQ
Library.scala:29: value duration is not a member of package concurrent
[error] import concurrent.duration.{Duration, FiniteDuration}
[error]                   ^
[error] two errors found
[error] (compile:compile) Compilation failed
[error] Total time: 51 s, completed Aug 29, 2013 3:19:29 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant