Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The GWT compiler is doing a lot of code analysis so it is going to be difficult to speed it up. <a href="http://www.youtube.com/watch?v=nvti32k4xyU" rel="nofollow noreferrer">This session from Google IO 2008</a> will give you a good idea of what GWT is doing and why it does take so long.</p> <p>My recommendation is for development use Hosted Mode as much as possible and then only compile when you want to do your testing. This does sound like the solution you've come to already, but basically that's why Hosted Mode is there (well, that and debugging).</p> <p>You can speed up the GWT compile but only compiling for some browsers, rather than 5 kinds which GWT does by default. If you want to use Hosted Mode make sure you compile for at least two browsers; if you compile for a single browser then the browser detection code is optimised away and then Hosted Mode doesn't work any more.</p> <p>An easy way to configure compiling for fewer browsers is to create a second module which inherits from your main module:</p> <pre><code>&lt;module rename-to="myproject"&gt; &lt;inherits name="com.mycompany.MyProject"/&gt; &lt;!-- Compile for IE and Chrome --&gt; &lt;!-- If you compile for only one browser, the browser detection javascript is optimised away and then Hosted Mode doesn't work --&gt; &lt;set-property name="user.agent" value="ie6,safari"/&gt; &lt;/module&gt; </code></pre> <p>If the <code>rename-to</code> attribute is set the same then the output files will be same as if you did a full compile</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload