Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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

  • 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

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

...