Wiki

Clone wiki

itk-payloads / development / generatingandcompiling

Generating the Classes

  • If you have made any changes to the configuration of the payloads, you will need to re-generate the payload classes. You can do this by running: src/main/java/uk/nhs/interoperability/payloads/util/GenerateDomainObjects
  • If you have changed any of the vocabularies used, you will also need to regenerate the Java enumerations for those vocabularies. You can do this by running: src/main/java/uk/nhs/interoperability/payloads/vocabularies/GenerateVocabularies

Compiling and Packaging the Code

  • There are two ways of compiling the code, depending on whether you want to use Ant or Maven:

Using Ant

  • To compile and package the code using Ant, go to the root directory of the project and type:
	ant

Using Maven

  • To complile and package the code using Maven, go to the root direcorty of the project and type:
	mvn install
  • Note: This will also run all the unit tests, which will take some time, and will require that you have the domain message specifications in the correct place in your home directory (see running unit tests for more details)

Home

Updated