Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Locked History Actions

GWT/Compiler

コンパイラ

Compile with -strict

以下のようなエラーが発生することがある。

Compiling module ....
   Validating newly compiled units
      Ignored 2 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.

ここで言っている-strictは、Run ConfigurationのArgumentsタブのProgram Argumentsに入力する。 logLevelは専用のコンボがあるが、TRACEにするとメッセージが多すぎて何が問題なのかわからない。

-strictを指定すると、例えば

Compiling module ....
   Validating newly compiled units
      [ERROR] Errors in '.....java'
         [ERROR] Line 16: No source code is available for type java.awt.Color; did you forget to inherit a required module?
         [ERROR] Line 19: The method format(String, int, int, int) is undefined for the type String
      [ERROR] Errors in '.....java'
         [ERROR] Line 17: No source code is available for type java.awt.Color; did you forget to inherit a required module?
   [ERROR] Aborting compile due to errors in some input files

というエラーとなっていることがわかる。