Files
gerrit/README_ECLIPSE
Shawn O. Pearce f14a1ded65 Switch build system to use Maven 2
This way we can easily depend upon other projects which also use
Maven, without needing to embed all of their dependencies directly
within our repository.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2008-12-20 17:48:48 -08:00

51 lines
926 B
Plaintext

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.