What version is it using?

44 views
Skip to first unread message

James

unread,
Sep 7, 2010, 10:51:06 AM9/7/10
to simple-build-tool
Hello,

I'm still learning how to use SBT. When I run sbt I see the following
output:

[info] Building project SampleProject 1.0 against Scala 2.8.0
[info] using MySampleProject with sbt 0.7.4 and Scala 2.7.7

Is my project being compiled using 2.8.0 or 2.7.7?

In my build.properties I have set build.scala.versions=2.8.0

Thanks,

James

Heiko Seeberger

unread,
Sep 7, 2010, 11:18:05 AM9/7/10
to simple-b...@googlegroups.com
James,

SBT uses separate Scala versions internally and for your project. Currently (SBT 0.7.4) the internal Scala version is 2.7.7. You are free to choose any (not sure how far you can move into the past) Scala version for your project. You even can cross build your project against several different Scala versions, e.g. 2.8.0 and 2.8.1-SNAPSHOT. Please take a look at the very good documentation at http://code.google.com/p/simple-build-tool/wiki/DocumentationHome.

Heiko


--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.




--
Heiko Seeberger

Company: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
Akka - Simpler Scalability, Fault-Tolerance, Concurrency & Remoting through Actors: akkasource.org

Det

unread,
Sep 8, 2010, 11:39:16 PM9/8/10
to simple-build-tool

> [info] Building project SampleProject 1.0 against Scala 2.8.0
> [info]    using MySampleProject with sbt 0.7.4 and Scala 2.7.7
>
> Is my project being compiled using 2.8.0 or 2.7.7?


As this question arises so often, it would be really good to
change that message a.s.a.p.

Suggestion:

[info] Building project SampleProject 1.0 against Scala 2.8.0
[info] using MySampleProject with sbt 0.7.4 (running on Scala
2.7.7)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
or something in that sense.

KR
Det
Reply all
Reply to author
Forward
0 new messages