This previous question may serve as a baseline for what "submodules" mean for the purpose of the current discussion: Play Framework [2.4.x] Working with Sub Modules
If you understand a Play submodule then given that context how does one enter the routing entry on the submodule to expose assets from a "public" folder?
Whenever I attempt to make a basic entry (as follows) my entire root module fails to compile a single route and yet I get no "usable" error or other indicator as to what might have happened.
GET /assets/*file controllers.Assets.at(path="/public", file)
The compiler errors occur even if I comment out the entry in the root project.
As all my sub modules controllers have a prefix I tried that (of course)
GET /assets/*file controllers.submodule.Assets.at(path="/public", file)
Alas that doesn't work either but at least I get a useful error telling me the type Assets is not a member of package controllers.submodule
Any suggestions?
PS: Yes I've also tried taking the entry out of the root's routing file in case it was just a name space collision...