Create your GWT project in eclipse

Source: Internet
Author: User
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.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.