Skip to content

Route file splitting errors at compile #1036

@cevantes

Description

@cevantes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions