Create your GWT project in eclipse
1. Create a project folder, for example, myproject. Copy the following files to the project directory.
│ Applicationcreator. cmd
│ Swt-win32-3139.dll.
│ Projectcreator. cmd
│ Junitcreator. cmd
│ Gwt-user.jar.
│ Gwt-ll.dll.
│ Gwt-dev-windows.jar.
2. Run
(1) projectcreator-Eclipse myproject
(2) applicationcreator-Eclipse myproject com. mycompany. Client. myapplication
Note that the myproject of the two commands must be consistent. (2) there will be a MyApplication-shell.cmd at the end of the operation,
MyApplication-compile.cmd,. Project,. classpath and other files. Check that before
Continue.
Note again: Do not run MyApplication-shell.cmd or Application-compile.cmd at this time. Otherwise
Problems may occur during eclipse debugging.
(3) Open the. classpath file and add a classpathentry item, as shown below:
<Classpathentry kind = "lib" Path = "F:/GWT workspace/flashmusic/GWT-Dev-
Windows. Jar "/>.
3. Import to eclipse
To open your project in eclipse, launch eclipse and click the file-> Import
Menu. Choose "existing projects into workspace" in the first screen of
And select the myproject folder.
4. Create a new application-type runtimeconfiguration (click to search in lib when creating a new application) and select
Gwtshell is used as the main class.
5. As a result, set a breakpoint.