Prerequisites- Get the latest Eclipse IDE for Java EE Developers release supported by the Google Plugin for Eclipse.
- Install the Google Plugin for Eclipse
- Use the Google Plugin for Eclipse to download the GWT SDK for you by following the appropriate instructions.
- Install EGit for Eclipse
Checking out gwt-dnd using EGit- Checkout the code
- File > Import > Git > Projects from Git > Clone...
- Set the URI to https://code.google.com/p/gwt-dnd/ which 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. Click Next.
- Specify the master branch. Click Next.
- Optionally, consider setting the Directory to /path/to/your/workspace/gwt-dnd, so that your imported project working tree is checked out inside the git clone.
- Click Finish. Then select the gwt-dnd clone you just created. Click Next.
- Select the DragDrop folder. Click Finish.
- If you have the Checkstyle plugin, right-click on the DragDrop project, select Properties > Checkstyle, uncheck Checkstyle active for this project, click OK.
- Navigate to the Eclipse Problems view. Right click on one of the SDK Jar errors and select Quick Fix. Choose the default fix. Repeat the Quick Fix for the remaining SDK Jar error. The project should now build correctly.
Building a distribution- Change to the DragDrop directory
- Build the code using Apache Ant by typing ant
- Provide values for the prompted filenames and directory names
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. | | build/ | ant build output | | war/ | Web resrouces | | eclipse/ | Eclipse based resources |
|
Thanks for the documentation