Prerequisites- Get Eclipse IDE for Java Developers. The current coordinated (3.3.x) release is Europa.
- Get Subclipse, unless you have or want to use a separate Subversion client. I recommend selecting Window -> Preferences -> Team -> SVN -> SVN Interface -> SVNKit (Pure Java).
- Get Google Web Toolkit and extract the archive to a convenient directory. The contents of this archive will be used to create the _Google Web Tookit user library.
- Create a new User Library via Window -> Preferences -> Java -> Build Path -> User Libraries -> New -> _Google Web Toolkit.
- Select Add JARs..., then specify the location of the gwt-user.jar in your GWT directory.
- Again Add JARs..., then specify the location of the gwt-dev-<platform>.jar in your GWT directory.
Checking out gwt-dnd from Subversion- Checkout the code with File -> Import -> Other -> Checkout Projects from SVN -> Create new repository location. Specify http://gwt-dnd.googlecode.com/svn/trunk/. This will give you the source code for the gwt-dnd library, the source code for the demo (examples), the getting-started launch configuration and the Eclipse project.
- For a specific release, instead specify http://gwt-dnd.googlecode.com/svn/tags/ and browse for a tagged subfolder from there.
- For a specific release branch, instead specify http://gwt-dnd.googlecode.com/svn/branches/ and browse for a tagged subfolder from there.
- Select the top-level DragDrop folder, click Next. Use the default project name DragDrop and click Finish.
- MAC Developers: Right-click on the project, select Debug As -> Open Debug Dialog... -> Java Application. For each of the DragDrop launch configurations, add the VM arguments -XstartOnFirstThread.
- If you have the Checkstyle plugin, right-click on the DragDrop project, select Properties -> Checkstyle, uncheck Checkstyle active for this project, click OK.
- Remove the user-src Source Folder if it exists in the project:
- Right-click on the project, select Build Path -> Configure Build Path.... Under the Source tab select DragDrop/user-src and click Remove.
- Right-click on the project, select Debug As -> Open Debug Dialog... -> Java Application. For each of the DragDrop launch configurations, remove the user-src entry under the Classpath tab.
Project Layout| Directory | Description | | src/ | Library source code. | | demo/ | Drag and drop demo as seen here. | | getting-started/ | The sample application from the GettingStarted wiki. | | test/ | Skeleton launch configuration for quick testing. |
|