You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@esme.apache.org by "Ethan Jewett (JIRA)" <ji...@apache.org> on 2011/01/03 21:03:48 UTC

[jira] Commented: (ESME-320) Add SBT integration for building project

    [ https://issues.apache.org/jira/browse/ESME-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976925#action_12976925 ] 

Ethan Jewett commented on ESME-320:
-----------------------------------

Ok, running "update" would have been a good idea. Now getting only deprecation warnings and "jetty" appears to run the app correctly.

Have you tried "test"? It looks like we are missing a few dependencies there.

> 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
>
>         Attachments: build.properties, EsmeProject.scala, Plugins.scala
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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
> 3) Available build actions are listed here: http://code.google.com/p/simple-build-tool/wiki/RunningSbt

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