Versions Compared

Key

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

...

No Format
cd hps-java-trunk/distribution
mvn

Checkstyle Errors

When introducing local changes to the trunk, you may get error messages like "You have 2 Checkstyle violations." and the build will fail.

There are currently two checkstyle rules in the build which can cause this, so you will need to determine which is relevant.  

Firstly, tabs are disallowed completely in all modules but users.  You can fix up your source code by using the Source > Format command in Eclipse, or you may prefer to use a command line Unix tool like expand to fix these issues.

Secondly, you are disallowed from committing Java files that have unused imports.  Unused imports will be underlined with a yellow line in Eclipse and can be removed by using Source > Organize Imports which will strip them out.

Tests

There are two types of tests in the HPS Java project: unit tests and integration tests.  

...