Home > Uncategorized > Importing existing GWT source to Eclipse

Importing existing GWT source to Eclipse

If the existing source is an Eclipse project, then you can import it to Eclipse as normal

But if it isn’t an eclipse project (like the GWT sample Showcase), you have to generate Eclipse project using Google’s tool:

  1. Install ant if you didn’t
  2. Change to directory of the project directory “gwt-2.0.3\samples\Showcase”
  3. type “ant eclipse.generate”
  4. Now you have the eclipse project, you can import it to Eclipse
  5. As of  GWT2.0, you have to tell eclipse this is an GWT project.
  6. Right click your project and click Google, then click Web Toolkit
  7. Choose the checkbox “Use Google Web Tookit”. If the project needs App Engine, you have to enable it too.
  8. Done
Categories: Uncategorized Tags: ,
  1. Brass
    June 15th, 2010 at 03:52 | #1

    This was helpful, thanks!

  1. No trackbacks yet.
Orange Cabin