I have one PlayfFamework 2.x' (PF2) default scala project (htc-sample) and depended default PF2 scala project (htc) like was shown here:
http://www.playframework.org/documentation/2.0/SBTSubProjects
But I got one ERROR with routes when trying to launch the main project. Like this:
[info] Compiling 5 Scala sources and 1 Java source to ~/projects/sample-htc/modules/htc/target/scala-2.9.1/classes... [error] ~/projects/sample-htc/modules/htc/target/scala-2.9.1/src_managed/main/views/html/main.template.scala:23: not found: value routes [error] Any),format.raw/*8.94*/("""">
What is the procedure to work with subprojects regarding to routes?
--
I guess I found the answer: it is impossible to do.. in play v.2.0. Because of this statement:
"You may want to split a large project into several smaller applications, or even extract some logic into a standard Java or Scala library that has nothing to do with a Play application". But does it mean that the subproject could not be a play projects with routes file? it can depend on another Play application.
But there is another statement: "it can depend on another Play application."