-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Route file splitting errors at compile #1036
Description
I've run into a number of routing errors at compile time while working on my project. Trying to reproduce one led to another, for which a simple setup exists at https://github.com/demogorgon/routing-issue.git
What I get is Compilation error[Empty routes file]
or (compile:sources) Compilation error in routing-issue/conf/admin.routes:null
What I want is to split the routes file into parts, as per documentation at https://github.com/playframework/Play20/blob/master/documentation/manual/detailledTopics/build/SBTSubProjects.md
What problem I had originally sounds like "value [ControllerName] is not a member of object controllers.admin.routes", which was reproducible whenever there were more than one subroute (an arrow) in admin.routes.
There is no subprojects yet in this example, but routes must compile nonetheless