GWT Facet Page
Use this page to configure the individual settings of a GWT facet attached to a particular module.
Item | Description |
---|---|
Path to GWT installation | In this drop-down list, select the location of the GWT SDK. If necessary, click and select the necessary location in the dialog that opens. |
Target Web Facet | In this drop-down list, select where GWT components should be ascribed. The available options are:
|
JavaScript output style | In this drop-down list, select the optimization style that the compiler will apply to the generated JavaScript code. The following options are available:
|
Compiler maximum heap size | In this text box, specify maximum heap size in Mb that will be used by the GWT compiler. In order to have GWT Compiler launched, you need to add GWT Compiler Output element to the artifact. (Project Structure | Artifacts | Output Layout) Thus GWT Compiler is launched on artifact build, and the generated files are stored in the artifact's output directory. |
Additional compiler VM options | In this text box, specify additional VM options, for example, the ones for compiling and running large GWT projects. When specifying JVM options, follow these rules:
|
Compiler parameters | In this text box, specify the options to be passed to the GWT compiler process in the format of a command line. Use the same rules as for specifying the VM options. |
GWT Module | This read-only list shows all the GWT modules in your project. To have a GWT module involved in the make process, select the checkbox next to the name of the module in the list. The make process is automatic re-compilation of all the module or project sources that have been changed since the last compilation. |
Output Relative Path | In this text box, specify the output path relative to the GWT modules compile output root. |
Download GWT | Click this button to download the GWT SDK. |
Create Artifact | To launch GWT compiler, you need to have an artifact configured with GWT Compiler output element added in the Output Layout tab. Click this button to automatically create an artifact with configured output layout. |