Add SBT integration for building project
----------------------------------------

                 Key: ESME-320
                 URL: https://issues.apache.org/jira/browse/ESME-320
             Project: ESME
          Issue Type: Task
          Components: Other
    Affects Versions: 1.2
            Reporter: Vladimir Ivanov
            Priority: Minor
             Fix For: 1.2


Simple Build Tool ( http://code.google.com/p/simple-build-tool ) provides 
several features for project build process (especially local):

- Accurate recompilation
- Continuous compilation and testing
- Buildfile is written in Scala instead of verbose XML
- Support for Custom Actions

and other goodies.

To build project with SBT

1) SBT jar should be download installed as described by following link: 
http://code.google.com/p/simple-build-tool/wiki/Setup

*  http://www.assembla.com/wiki/show/liftweb/Using_SBT : To avoid frequent 
OutOfMemory errors, try modifying your sbt shell script to the following:
java -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar 
`dirname $0`/sbt-launch.jar "$@"

2) Project folder should be added to module root with following structure:

--->ESME root
   |
   --->server
       | 
       --->project
          |           
          ---->build
          |   |
          |   -----EsmeProject.scala
          |
          ---->plugins
          |   |
          |   -----Plugins.scala
          |            
          ----- build.properties 

Files EsmeProject.scala,  Plugins.scala,  build.properties are attached to this 
issue.

*  For those who use IntelliJ IDEA, it's possible to add sbt-idea plugin to 
generate IDEA project artifacts, as described here: 
https://github.com/mpeltonen/sbt-idea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to