Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

When I run the development server, I see in the Development tab:

  • Validating newly compiled units
    • Ignored 2 units with compilation errors
  • Module elided has been loaded.

Clicking on the middle entry shows

[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 don't want to ignore potential errors. How can I cause the Eclipse plugin to pass the -strict flag to the GWT compiler?

like image 677
Mike Samuel Avatar asked Mar 29 '12 17:03

Mike Samuel


2 Answers

In the dialog "GWT compile" open "advanced". Now you could add compiler options

like image 164
stefan bachert Avatar answered Oct 17 '22 07:10

stefan bachert


You can also open the Run Configuration for your Development Mode. Then go to the GWT tab and change the log level to DEBUG or TRACE.

like image 31
David Mann Avatar answered Oct 17 '22 05:10

David Mann