This repository has been archived by the owner on Dec 8, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
UsingSourceWithEclipse
Fred Sauer edited this page Apr 1, 2015
·
3 revisions
- 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
- Checkout the code
1. File > Import > Git > Projects from Git > Clone...
1. Set the URI to
https://github.com/fredsa/gwt-log
which will give you the source code for the gwt-log library, the source code for the demo (examples), the getting-started launch configuration and the Eclipse project. Click Next. 1. Specify themaster
branch. Click Next. 1. Optionally, consider setting the Directory to/path/to/your/workspace/gwt-log
, so that your imported project working tree is checked out inside the git clone. 1. Click Finish. Then select thegwt-log
clone you just created. Click Next. 1. Select theLog
folder. Click Finish. - If you have the Checkstyle plugin, right-click on the
Log
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.
- Change to the
Log
directory - Build the code using Apache Ant by typing
ant
- Provide values for the prompted filenames and directory names
Directory | Description |
---|---|
src/ |
Library source code. |
demo/ |
Log 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 |