root
├───cli
│ └─── ...(Command Line Project, Has a "main(...)")...
├───common
│ └─── ...(Library Project)...
├───core
│ └─── ...(Library Project)...
├───project
│ └─── ...(sbt stuff)...
├───web
│ └─── ...(Play Project)...
└───build.sbt
name := "root"
version := "0.0.0-SNAPSHOT"
lazy val root = project.in(file("."))
.aggregate(common, core, cli, web)
lazy val common = project
lazy val core = project
.dependsOn(common)
lazy val cli = project
.dependsOn(common, core)
lazy val web = project
.settings(play.Project.playScalaSettings: _*)
.dependsOn(common, core)> web/run
java.lang.RuntimeException: */*:playRunHooks is undefined.
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last web/compile:run for the full output.
[error] (web/compile:run) */*:playRunHooks is undefined.
[error] Total time: 0 s, completed May 22, 2014 5:36:36 PM> project web
[info] Set current project to web (in build file:file:/{{redacted to remove my username}}/Workspace/test/)
[web] $ run
--- (Running the application from SBT, auto-reloading is enabled) ---
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000> web/run
java.lang.RuntimeException: */*:playRunHooks is undefined.
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last web/compile:run for the full output.
[error] (web/compile:run) */*:playRunHooks is undefined.
[error] Total time: 0 s, completed Jun 9, 2014 5:53:25 PM
> show */*:playRunHooks
[error] No such setting/task
[error] show */*:playRunHooks
[error] ^
> inspect */*:playRunHooks[info] No entry for key.[info] Description:[info][info] Delegates:[info] */*:playRunHooks[info] Related:[info] web/*:playRunHooks> show web/*:playRunHooks
[info] List()
[success] Total time: 0 s, completed Jun 9, 2014 5:53:44 PM
> inspect web/*:playRunHooks[info] Task: scala.collection.Seq[play.PlayRunHook][info] Description:[info][info] Provided by:[info] {file:/{{redacted to remove my username}}/Workspace/test/}web/*:playRunHooks[info] Defined at:[info] {{redacted to remove my username}}/Workspace/test/web/build.sbt:11[info] Dependencies:[info] web/*:playOnStarted[info] web/*:playOnStopped[info] Delegates:[info] web/*:playRunHooks[info] {.}/*:playRunHooks[info] */*:playRunHooks