Saturday, February 25, 2012

Acumen Development Setup In Ubuntu 11.10

Credit goes to the Original publishers
All the below existing content are the modified and organised content of the above original publishers

Important: Notice the versions of Java 1.6.0_26, scala 2.7.7 and sbt 0.7.4 used for Acumen
Instructions for Development setup:

  1.  Download the , extract and rename it to acumen for easy access from terminal.
  2. Download sbt-launch-0.7.4.jar and rename it to sbt-launch.jar.
  3. Write the below script to a file to run the jar
      Hint: gedit from terminal open text editor, copy the above script and save it as sbt
    java -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M -jar `dirname $0`/sbt-launch.jar "$@"
  4. Make the script in sbt file executable
    Hint :
    anil@ubuntu:~$ chmod u+x ~/bin/sbt
  5. Place the sbt-launch.jar and sbt files to bin
    Hint: use the below commands from the location file, I used Home directory
    anil@ubuntu:~$ sudo mv sbt-launch.jar /bin
    anil@ubuntu:~$ sudo mv sbt /bin
  6. In the terminal, enter in to the acumen/sources
    anil@ubuntu:~$ cd acumen/sources
  7. Launch sbt from acumen/sources as shown below
    anil@ubuntu:~/acumen/sources$ sbt
  8. Enter reload from terminal
    > reload
  9. Enter update from terminal
    > update
  10. Enter run from terminal
    > run

If everything goes fine you see the below output as shown in image
Click the blow image to enlarge:

No comments:

Post a Comment