...
The launch GWT projects in hosted mode, you'll need the development libraries appropriate for your operating system. To configure this, in Package Explorer view, right-click the root of the project, click Build Path, click Configure Build Path, click the Libraries tab, click the ivy.xml container, and click Edit. Click the Advanced tab on the resulting Edit Library dialog. Check one of codegen-linux, codegen-win, or codegen-mac depending on your OS. Click Finish then click OK.
Download GWT distribution for your OS. TODO
Linux
The above instructions do not work for Linux. What does work is the followingThe build template file gwt_common_build.xml provides a target that will fetch the specific jar and libraries for your platform and place them in your project's dev-lib directory. Execute:
ant install-gwt-dev
This target will print a message when it is finished, notifying you to place the gwt-dev jar file in dev-lib at the top of your Eclipse classpath.
Here's an alternate approach if you don't want to use the Ant target:
- Download the GWT Linux distribution.
- Unzip it.
- Edit the Build Path for your GWT-based project.
- Uncheck any codegen* configurations for the ivy.xml container.
- Add gwt-dev-linux.jar (from the unzipped distribution) as an External JAR.