What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Apr 29, 2008 by fredsa
Labels: Featured
UsingSourceWithEclipse  
How to checkout the gwt-dnd library and demo source code using Eclipse

Prerequisites

  1. Get Eclipse IDE for Java Developers. The current coordinated (3.3.x) release is Europa.
  2. 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).
  3. 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.
  4. 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

  1. 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.
  2. Select the top-level DragDrop folder, click Next. Use the default project name DragDrop and click Finish.
  3. 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.
  4. If you have the Checkstyle plugin, right-click on the DragDrop project, select Properties -> Checkstyle, uncheck Checkstyle active for this project, click OK.
  5. Remove the user-src Source Folder if it exists in the project:

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.


Sign in to add a comment