How to use sbt with Google App Engine?

后端 未结 7 1834
北海茫月
北海茫月 2021-01-31 05:08

Has anybody tried to setup sbt to work with Google App Engine? I dream about using development server auto-reloading after source changes.

7条回答
  •  盖世英雄少女心
    2021-01-31 05:55

    There is now a new version of the sbt-appengine plugin which works with newer versions of SBT (0.10+) at https://github.com/sbt/sbt-appengine. There's also a trivial sample app using it at https://github.com/sbt/sbt-appengine.

    I just converted a project that was created with Eclipse:

    • Move scala files from src/ to src/main/scala.
    • If you have java files, move them from src/ to src/main/java.
    • Move war/ to src/main/webapp.
    • If you have other files that should end up in WEB-INF/classes, put them in src/main/webapp/WEB-INF/classes/.

提交回复
热议问题