我怎么能够把Schala的版本改变在一片 s项目中?
我想SBT检查该系统的Schala版本是否正确,如果情况并非如此,那么它就会下载。
我怎么能够把Schala的版本改变在一片 s项目中?
我想SBT检查该系统的Schala版本是否正确,如果情况并非如此,那么它就会下载。
http://www.scala-sbt.org/0.13/tutorial/Basic-Def.html” rel=“noreferer”_.sbt Building definition。
scalaVersion := "2.10.1"
You can temporarily switch to another version of Scala using
++<version>
.
This version does not have to be listed in yourbuild.scala.versions
property, but it does have to be in a repository or be a local Scala version you have defined.
但是,CrossBuild page更适合你想要的东西,因为它在行动上表明如何改变build.scala.versions
财产。
因此,你应当能够
set build.scala.versions 2.7.7
reload
set build.scala.versions 2.8.0.RC2
reload
并且每次都生成一个有不同统计版本的汇编。
I have 4 elements:List[List[Object]] (Objects are different in each element) that I want to zip so that I can have a List[List[obj1],List[obj2],List[obj3],List[obj4]] I tried to zip them and I ...
I m impressed with Twitter and investigating to use Scala for a new large scale web project with Hibernate and Wicket. What do you think about Scala, and should I use it instead of Java? EDIT: And, ...
I m going to work on comparing around 300 binary files using Scala, bytes-by-bytes, 4MB each. However, judging from what I ve already done, processing 15 files at the same time using java....
The scala type Nothing represents (as I understand it) the bottom of the type hierarchy, also denoted by the symbol ⊥. That is, Nothing is a sub-type of any given type. The requirement for a Nothing ...
When I execute a Scala script from the command line, a directory named "tmp" is created in my home directory. It is always empty, so I simply deleted it without any apparent problem. Of course, when I ...
Is it possible to include a jar file run running the Scala interpreter? My code is working when I compile from scalac: scalac script.scala -classpath *.jar But I would like to be able to include a ...
I am trying to use Scala s capabilty of running a class with either JUnit or ScalaTest. I took the example given for FeatureSpec and combined it with the example using JUnitSuite. I am having a ...
There are various answers on Stack Overflow which explain the conditions under which tail recursion is possible in Scala. I understand the limitations and how and where I can take advantage of tail ...