GATHER is a collection of java projects, build using Maven. This is a bare-essentials, command-line oriented guide to getting a developer environment set up.
Prerequisites
Subversion Repository
| Component | Description | URL |
| base | root url for the gather repository | http://code.dimagi.com/svn/Gather/ |
| gather-core | basic model and interfaces | http://code.dimagi.com/svn/Gather/gather/gather-core/ |
| gather-sample-app | an "interview" application which illustrates the gather form capture design pattern | http://code.dimagi.com/svn/Gather/gather/gather-sample-app/ |
| hmis-handler-jpa | JAXB (from XML) and JPA (to persistence) handler for HMIS forms | http://code.dimagi.com/svn/Gather/gather/hmis-handler-jpa/ |
| gather-alert | alert/notification component | http://code.dimagi.com/svn/Gather/gather/gather-alert/ |
| gather-service | custom HMIS-oriented web application | http://code.dimagi.com/svn/Gather/gather/gather-service/ |
| pentaho-data | HSQLDB server with schema for Gather/Pentaho | http://code.dimagi.com/svn/Gather/pentaho/pentaho-data/ |
| pentaho-solutions | gather custom solutions for Pentaho | http://code.dimagi.com/svn/Gather/pentaho/pentaho-solutions/ |
| pentaho-style | gather branding for Pentaho | http://code.dimagi.com/svn/Gather/pentaho/pentaho-style/ |
Note: all the components have the usual trunk, branches, tags subdirectories
Recommended order
- BuildAndInstallGatherCore - the component needed by all the others
- InstallAndRunPentahoData - provides a data source for all components
- BuildAndInstallHmisHandlerJpa - provides roundtrip xml-to-object-to-persistence
- BuildAndRunGatherService - custom hmis web application
As Eclipse Project
Any maven project can be converted into an Eclipse project with one simple command line...
mvn eclipse:eclipse
So, to create an Eclipse workspace for GATHER, follow these steps.
- Create a workspace directory
- check-out each GATHER component into a subdirectory of the workspace
- convert each project into an Eclipse project
- Launch Eclipse
- Use "Import... General->Existing Project Into Workspace" to populate the workbench with the projects
