...
- From the command line
- ``mvn clean install`` will build the project, placing the war)] in the target/ directory. This will run the acceptance tests. To run only the unit tests, run 'mvn clean test'. To run only the acceptance tests, run 'mvn integration-test'.
- More about the Maven Build.
- More about Running Acceptance Tests.
- More about Hudson Continuous Integration - our build server builds and tests automcatically, doublechecking the tests developers run on their desktop machines.
Configure Eclipse
Please apply the following Workspace (not Project) Preferences
...
:
- General > Content Types > Java Properties File : Default encoding, type "UTF-8" and click Update
- because Mifos Translation .properties files are UTF-8 encoded (while standard Java properties files are ISO-8859-1); see MIFOS-4851 for some background about this
- General > Editors > Text Editors > Insert spaces for tabs (instead of tabs)
- Web > CSS Files > Editor > Indent using spaces (instead of tabs)
- Web > HTML Editor > Indent using spaces (instead of tabs)
- XML > XML Files > Editor > Indent using spaces (instead of tabs)
- XML > XML Files > Editor > Indentation size: 4 (instead of 1)
Configure PMD
- No configuration should be necessary, as settings are checked into source control.
- However, to see the settings:
- General preferences are set in Window → Preferences → PMD
- Project settings are here: Navigator Pane → right click → Properties → PMD
...