How can I get Eclipse to compile GWT with the -strict flag?

I am using the GWT Eclipse plugin to develop and test the GWT appengine application.

When I start the development server, I see on the Development tab:

  • Checking New Compiled Units
    • 2 units with compilation errors are ignored
  • The elied module is loaded.

Clicking on the middle record, you will see

[INFO] [tasx] - Ignored 2 units with compilation errors in first pass. Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. 

I do not want to ignore possible errors. How can I get the Eclipse plugin to pass the -strict flag to the -strict compiler?

+8
compiler-warnings eclipse-plugin gwt
source share
2 answers

In the GWT compile dialog box, open advanced. Now you can add compiler options

+10
source share

You can also open the launch configuration for your development mode. Then go to the GWT tab and change the log level to DEBUG or TRACE.

+1
source share

All Articles