GWT: Development and Production configurations

Intellij IDEA 12.1.3 (build 129.451)
GWT 2.5.1

There is several places where you can configure GWT differently for development and production:

<Module>.gwt.xml

<module>
    <set-property name="gwt.logging.enabled" value="FALSE"/>
    <add-linker name="xsiframe"/>
    <set-configuration-property name="CssResource.style" value="pretty"/>
    <set-property name="user.agent" value="safari" />
    <set-property name="locale" value="default" />
     etc...
</module>


<Module>.iml

<module type="JAVA_MODULE" version="4">
  <component name="FacetManager">
    <facet type="gwt" name="GWT">
      <configuration>
      <setting name="compilerParameters" value="-ea -draftCompile -optimize 0 -strict -compileReport" />
      <setting name="gwtScriptOutputStyle" value="PRETTY" />
      </configuration>
    </facet>
  </component>
     etc...
</module>


Run/Debug Configurations
     Use Super Dev Mode
     VM Options
     Dev Mode parameters

Different web.xml for hosted mode and external run in Jetty 9.

Is it possible to setup development/debug and production/release mode for independent run?

Please sign in to leave a comment.