views:

2552

answers:

2

I'm trying to import one of the GWT samples into Eclipse by following the instructions below. But when I browse to the directory containing the "Hello" sample and uncheck "Copy projects into workspace", the Finish button is grayed out, preventing me from completing the import. Any ideas why?

-- Option A: Import your project into Eclipse (recommended) --

If you use Eclipse, you can simply import the generated project into Eclipse. We've tested against Eclipse 3.3 and 3.4. Later versions will likely also work, earlier versions may not.

In Eclipse, go to the File menu and choose:

File -> Import... -> Existing Projects into Workspace

Browse to the directory containing this file, select "Hello". Be sure to uncheck "Copy projects into workspace" if it is checked. Click Finish.

+2  A: 

I had the same problem but found this:

I just tried this on Eclipse 3.4 1) Create a project named "Showcase" file > new > project

2) Import the Showcase files right-click on the project name

Import File System From Directory (browse to your eclipse samples installation) Showcase (select the directory in the left panel) Into folder (Showcase should be the default value)

This will import the source into your workspace. Use build.xml to build the project. The build will fail as the gwt-servlet.jar is in a shared directory which doesn't get brought into the project via this method.

A: 

Hi guys you really should read document more carefully :) you have to use google's build file to create an eclipse and import it. Here I got detail instructions and some screenshot:

http://blog.orangecabin.com/2010/05/importing-existing-gwt-source-to-eclipse/