Conscript downloads its own copy of Scala?

62 views
Skip to first unread message

Byron Gibson

unread,
Nov 26, 2011, 6:49:10 PM11/26/11
to conscri...@googlegroups.com
I've already got the Typesafe Stack installed, is there a way to configure cs to use that version of Scala instead of downloading its own copy?  It seems to do the latter by default, despite SCALA_HOME being set:

$> echo $SCALA_HOME
/usr/local/typesafe-stack/scala/

Nathan Hamblen

unread,
Nov 26, 2011, 11:14:10 PM11/26/11
to conscri...@googlegroups.com
On 11/26/2011 06:49 PM, Byron Gibson wrote:
> I've already got the Typesafe Stack installed, is there a way to
> configure cs to use that version of Scala instead of downloading its
> own copy?

Hi Byron. Conscript uses the sbt launcher, and so like sbt itself it
uses a copy of Scala (scala-lib and scala-compiler jars) that is managed
by ivy. As far as I know, the same is true of the copy of sbt that is
distributed with the Typesafe Stack; it would be independent of anything
in a Scala home directory.

The good thing about this is it allows sbt, conscript, and anything else
using the sbt launcher to work with any version of Scala--not just
whichever you may have in a directory. So while the current version of
conscript itself uses Scala 2.9.1, some other application managed by
conscript could be using Scala 2.8.2.

Nathan

Reply all
Reply to author
Forward
0 new messages