Some of you don't like to use the "inplace" strategy to compile GWT to the
web application (@see
http://blog.salvadordiaz.fr/2009/04/29/keep-your-source-tree-clean-gwt/)<http://blog.salvadordiaz.fr/2009/04/29/keep-your-source-tree-clean-gwt/>,
and I understand this point of view.
To make things simplier I've added a new parameter : inplace (default=false)
to match this setup.
if set to false (or not set) the compiler will output to webappDirectory
= ${project.build.directory}/${project.build.finalName}
(same output directory as the war plugin)

is set to true, the compiler will output to warSourceDirectory
= src/main/webapp


The run and eclipse goals still use the hostedWebapp = /war parameter but if
you don't use a dedicated webapp for hosted mode testing (bad practice IMHO)
you can set it to either webappDirectory or warSourceDirectory folder.

Cheers,

Nicolas

Reply via email to