Skip to content
This repository has been archived by the owner on Dec 11, 2017. It is now read-only.

UsingSourceWithEclipse

Fred Sauer edited this page Mar 15, 2015 · 3 revisions

Prerequisites

  1. Get the latest Eclipse IDE for Java EE Developers release supported by the Google Plugin for Eclipse.
  2. Install the Google Plugin for Eclipse
  3. Use the Google Plugin for Eclipse to download the GWT SDK for you by following the appropriate instructions.
  4. Install and configure the Open Source Flex SDK compiler * Download and install the Open Source Flex SDK * Select Windows -> Preferences -> Run/Debug -> String Substitution, then select New... to create a new variable named _MXMLC
    • Name: _MXMLC
    • Value: /complete/path/to/the/mxmlc/compiler/executable
    • Description: Open Source Flex SDK compiler
  5. Install EGit for Eclipse

Checking out gwt-voices using EGit

  1. Checkout the code 1. File > Import > Git > Projects from Git > Clone... 1. Set the URI to https://github.com/fredsa/gwt-voices which will give you the source code for the gwt-voices library, the source code for the demo (examples), the getting-started launch configuration and the Eclipse project. Click Next. 1. Specify the master branch. Click Next. 1. Optionally, consider setting the Directory to /path/to/your/workspace/gwt-voices, so that your imported project working tree is checked out inside the git clone. 1. Click Finish. Then select the gwt-voices clone you just created. Click Next. 1. Select the Voices folder. Click Finish.
  2. If you have the Checkstyle plugin, right-click on the Voices project, select Properties > Checkstyle, uncheck Checkstyle active for this project, click OK.
  3. 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

Building a distribution

  1. Change to the Voices directory
  2. Build the code using Apache Ant by typing ant
  3. 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.
test/ Skeleton launch configuration for quick testing.
Clone this wiki locally