You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a multi-module Play 2.4 setup with a 'commons' and a 'domain' module, both contain entities that need to be transformed to Q*s. But a can't figure out the sbt setup to make it work, no files will be generated..
I can get this working with a model package like you described in the README (version 0.1.2). But my entities are located in the submodules.
So here is my config:
lazy val commons = (project in file("modules/commons"))
.settings(commonSettings: _*)
.settings(queryDSLPackage := "net/twentyfourseven/commons/domain/jpa")
.enablePlugins(QueryDSLPlugin)
lazy val domain = (project in file("modules/domain"))
.settings(commonSettings: _*)
.settings(queryDSLPackage := "net/twentyfourseven/registration/domain")
.dependsOn(commons)
.enablePlugins(QueryDSLPlugin)
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.dependsOn(commons, domain)
.aggregate(commons, domain)
.enablePlugins(PlayJava, QueryDSLPlugin)
I have to say that I'm new to sbt, scala, play, so maybe it's just a stupid configuration mistake.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi!
I have a multi-module Play 2.4 setup with a 'commons' and a 'domain' module, both contain entities that need to be transformed to Q*s. But a can't figure out the sbt setup to make it work, no files will be generated..
I can get this working with a model package like you described in the README (version 0.1.2). But my entities are located in the submodules.
So here is my config:
lazy val commons = (project in file("modules/commons"))
.settings(commonSettings: _*)
.settings(queryDSLPackage := "net/twentyfourseven/commons/domain/jpa")
.enablePlugins(QueryDSLPlugin)
lazy val domain = (project in file("modules/domain"))
.settings(commonSettings: _*)
.settings(queryDSLPackage := "net/twentyfourseven/registration/domain")
.dependsOn(commons)
.enablePlugins(QueryDSLPlugin)
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.dependsOn(commons, domain)
.aggregate(commons, domain)
.enablePlugins(PlayJava, QueryDSLPlugin)
I have to say that I'm new to sbt, scala, play, so maybe it's just a stupid configuration mistake.
Thanks in advance!
The text was updated successfully, but these errors were encountered: