Customising a generated file

Generated files can be customised to extend or modify the behaviour of your generated application. It is recommended that you use your favourite text editor/IDE to edit generated files, but RapidJ does provide a basic file editor.

The following steps describe how to customise a generated file using the File Editor:

  1. Go to the Generate Code tab in the main application window.
  2. In the Generated Files tree, double click on the generated file that you want to customise.
  3. Customise the generated file by modifying it in the File Editor.
  4. Press the Save and Close button to save the changes.

The following steps describe how to customise a generated file using your favourite text editor/IDE:

  1. Open the generated file in your favourite text editor/IDE.
  2. Customise the generated file by modifying it and then save it. (Note: be careful not to remove the embedded checksum).
  3. Switch back to RapidJ and it automatically detects any changes that have been made.

Related concepts

Generated file

Related reference

Template Editor
Generate Code tab