Creating Scala Project With SBT 0.12 | Knoldus
Installing SBT for Windows $ set SCRIPT_DIR=%~dp0 $ java -Xmx512M -jar "%SCRIPT_DIR%sbt-launch.jar" %* Now, put the sbt-launch.jar file in same directory where you put sbt.bat file.Put sbt.bat on your path so that you can launch sbt in any directory by typing sbt at the command prompt. After installing SBT if we type in sbt in the command prompt in an empty directory, this is what we are likely to see D:\hello>sbt [info] Set current project to default-30dbd1 (in build file:/D:/hello/) In order to create project execute the following commands in the sbt session. > set name :="hello" [info] Reapplying settings... [info] Set current project to hello (in build file:/D:/hello/) > > set scalaVersion :="2.9.2" [info] Reapplying settings... [info] Set current project to hello (in build file:/D:/hello/) > set version :="1.0" [info] Reapplying settings... [info] Set current project to hello (in build file:/D:/hello/) > session save [info] Reapplying settings...Read full article from Creating Scala Project With SBT 0.12 | Knoldus
No comments:
Post a Comment