Community contributed extensions

Scala Gen [scalagen] module

This module is for the Play 1.x series only.

Scala code generators for the Play! framework

This module can be used to generate Scala code. It can generate JPA/ Siena based models, CRUD and associated test cases.

Options:

--scaffold-jpa [entity name] [attribute1:type1]* Generates the JPA based model and associated CRUD code.
--model-jpa [entity name] [attribute1:type1]* Generates the JPA based model.
--scaffold-siena [entity name] [attribute1:type1]* Generates the Siena based model and associated CRUD code.

Note: --scaffold and --model are shortcuts to generate JPA

These generators can only be used from inside a Scala Play! project.

https://github.com/asinghal/Play-ScalaGen

Written by Aishwarya Singhal.

Published releases

0.1 Aug 31 2011 Documentation Try Play

To install locally this module use the install command:

play install scalagen-{version}

To add this module as dependency of your application, add it to the dependencies.yml file:

require:
        - play -> scalagen {version}