Install the Simple Build Tool for LiftWeb Framework

Posted on Posted in liftweb, scala

Install the Simple Build Tool (SBT) for LiftWeb Framework

The objective of this blog as usual, it is not to provide a Tutorial on how to use/install blog, but to capture good practices for building a Development Architecture.

Best way to install SBT for Mac OS X is described on the following tutorial called Getting Started with Scala using SBT.
However, in this case since I do not have wget installed, we have downloaded the sbt-launcher.jar file from the official Simple Build Tool and place it on our Downloads folder. Using the following commands, we can install the sbt launcher and make it accessible from the command tools :

cd ~
sudo mv ~/Downloads/sbt-launch-0.7.4.jar /usr/local/bin/sbt-launcher.jar
echo "java -Xmx512M -jar /usr/local/bin/sbt-launcher.jar \"\$@\"" | sudo tee /usr/local/bin/sbt
sudo chmod +x /usr/local/bin/sbt

Thank’s to Chris Moos script, the SBT jar is installed and it creates a script called sbt that will allow us to run the sbt jar. To test it just type sbt and press enter, and you now have access to SBT.

One thought on “Install the Simple Build Tool for LiftWeb Framework

Comments are closed.