3

With the Maven GWT Plugin it is possible to pass the draftCompile flag to the GWT compiler.

How can I pass this parameter to IntelliJ IDEA's internal GWT compiler to speed up the compilation process?

Harold L. Brown
  • 8,423
  • 11
  • 57
  • 109

1 Answers1

2

Go to File > Project Structure > Facets, select your GWT facet and add this to your compiler parameters:

-draftCompile

Sources:

Darek Kay
  • 15,827
  • 7
  • 64
  • 61
  • It seems like you have to pass `-draftCompile`. See https://stackoverflow.com/questions/1011863/how-do-i-speed-up-the-gwt-compiler/2758588#2758588 and https://turbomanage.wordpress.com/2010/04/14/gwt-compiler-options/ – Harold L. Brown Mar 18 '15 at 11:00
  • I updated my answer. I wasn't sure, because the GWT Facet page says: "In this text box, specify the options to be passed to the GWT compiler process in the format of a command line.". But I think, this makes more sense. – Darek Kay Mar 18 '15 at 12:30
  • I think the boolean value after the parameter is wrong. – Harold L. Brown Mar 18 '15 at 12:43