The Ratpack plugin enables the usage of an embedded Ratpack server.
The current version of griffon-ratpack-plugin is 0.1
To install just issue the following command
You can create as many Ratpack applications within the same Griffon application. Every Ratpack app will have it's own space but all share the same servlet context.
Dependency injection should work just fine with a Ratpack application; the same can be said regarding usage of the Artifact API.
- create-ratpack-app - creates a new Ratpack definition under
create-ratpack-app with "First" as the application name results in the following file being created
Once the application is running you can point a browser to http://localhost:5000/sample/first/
At the moment the only setting that can be changed is the port used for the embedded Jetty server, which is 5000 by default. You can change this setting by specifying a flag in
Page templates should in
Static content should in