playframework 2.0 - How to import multi-module project in IntelliJ IDEA? -
i'm used spring , maven projects set multi-module project in maven projects like:
app-web app-models app-services app-common
i'm getting using play framework 2 (scala) , sbt.
is there similar concept play , sbt group of these projects single intellij idea solution , sbt?
intellij idea 13 (the latest version 13.1.3) comes the built-in sbt support, , the ultimate edition adds play support.
a multi-module sbt project can imported idea , supported out of box it's play-based or not (they're sbt projects after all).
you should try out following simplistic build file build.sbt (or generate play project play new
or better activator new [your-project-name] play-scala
):
lazy val a, b, c = project
and following project/build.properties
:
sbt.version=0.13.5
nothing these 2 above files needed started sbt/activator.
in idea, open project using file > open...
, select build.sbt
.
click ok
see window specify additional configuration options project. modules show up.
Comments
Post a Comment