guillaumebort/play-gae — pull request #43 by jirubio (2012-03-03 13:02:12+00:00)
Title: support for adminConsole in dev

Having the admin console in development mode is a must if you want to do any serious development on appengine.
This is the solution i came with after investigating the inners of the sdk.
The adminConsole is a servlet/jsp application that doesn´t fit well with the philosophy of Play. Currently there isn't a way of integrating a servlet application in Play, so i decided to split it and have two separate applications.
One is the normal appengine application you are developing and the other the admin tool.
The idea is to launch in parallel a servlet server that loads the admin application. Luckily the appengine sdk already includes jetty. So when there is a request for the path "/_ah/admin" a jetty server is launched with the admin tool.
I have added a new property to configure the port used by the admin tool:
gae.adminConsole.port