blob: d1756358d106ad19a66d2bd3373329522c2e1aca [file]
Eclipse Setup
=============
User Library
------------
Window > Preferences
Java > Build Path > User Libraries
Create a User Library called "GWT":
New
Name: GWT
Add JARs...
* Select gwt-user.jar from the $(GWT_SDK) directory.
* Select gwt-dev-$(GWT_OS).jar from the $(GWT_SDK) directory.
Maven
-----
- Install the Maven Integration plugins:
http://m2eclipse.codehaus.org/
Build
-----
- Ensure jgit is installed in your maven repository:
(cd ../jgit/jgit-maven/jgit/ && mvn install)
Import
------
- Import appdist using General -> Maven Projects
Uncheck "jgit". You don't want to import it.
- Right click on gwtorm, Maven -> Update Project Configuration to
force a compile of the generted ANTLR sources. This fixes the
compile errors identified after import.
- Import gerrit-devdb using General -> Existing Projects
- Copy the PostgreSQL JDBC driver into the gerrit-devdb project.