GWT2 Plugin for Play!
by Vincent Buzzano

Current version is 1.6 for play 1.2
Project Webstie: http://github.com/vbuzzano/play-gwt2

This module has been tested with gwt 2.2.0.

QUICK START
-------------------------------------
First of all, set the path of your gwt home
> export $GWT_HOME=<path to gwt folder>

Edit <myApp>/conf/dependencies.yml files, and add gwt2 module:
~# Application dependencies
~require:
~    - play
~    - play -> gwt2 1.7

Skip the next command if you want to install the module directly in the "modules" folder of your application. Otherwise the module will be installed in play! framework.
> play install gwt2

To add gwt2 module to your application, play dependencies management
> play deps

Then init your porject with:
> play gwt2:init

During initialisation, gwt2 module will copy gwt-user.jar in your application lib folder.

if you want, you can remove it and add gwt-user to your conf/dependencies.yml
~# Application dependencies
~require:
~    - play
~    - play -> gwt2 1.7
~    - com.google -> gwt-user 2.2.0
then run "play deps" again

After init create you first gwt module:
> play gwt2:create <myApp>

And test it:
> play gwt2:devmode


PLAY SHELL COMMANDS:
--------------------------------------
For alist of commands, execute 

> play gwt2:help

This will display GWT2 Plugin for Play! commands help.

HISTORY
--------------------------------------
1.7  - Add gwt2chat sample. This the Chat Sample from Play! 1.2 but GWT. 3 modules. refresh, long polling and websocket	
     - Add GWT2WSClient, a simple client to use with Play! Websocket.
     - Add gwt.codesvr to url when in dev mode. Only for GET request. the plugin redirect the request with gwt.codesvr argument. 
1.6 ASync improvement
     - Add GWT2SercieAsync annotation to define if a GWT2Service need to be invoked asyncron as aJob
     - Add GWT2Chain concept to enable no async service to run Promise/Future/Job async with a callback
       With this you can start as many future as you want without blocking the service thread
     - Add new Async Sample
	 - Improve errors handling
     - some bug fixes
1.5 Big Update
	 - update documentation
     - fix 500 error problem with 1.2 and new application
     - change route loading and invoker
     - Improve gwt Service invokation with async call.
     - redefine configuration fields (gwt.publicdir, gwt.publicpath, gwt.modulesdir)
     - improve devmode (take care about publicpath) and add main application path
     - New Service system. No more need for annotation GWT2ServicePath. Just add a new service name your service
       as the @RemoteServiceRelativePath value but with Capitalization in <gwt.(yourmodule.)services>
1.4 Upgrade plugin for play! 1.2
	 - update documentation
     - bug fix
1.3 Upgrade plugin for play! 1.1
	- Improved command line system
    - Add Play Model support Documentation
    - Add samples
    - Add GWT Modules path to Play Configuration
    - Fix lot of bugs
1.2 Improve documentation and commands shell. 
	- Rewrite command.py
    - Add compilation command
    - Add clean command
    - Improve devmode launch
    - Change Plugin Class name for compatibility with 1st GwT Plugin
1.1 first offical released. Bug fixed.
1.0 first buggy released based on play-gwt by Rustem Suniev

