You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Patching parts of a file with content that has been generated from the models.
The files to replace generated files are placed within the patch/files
folder insider the project-models
folder. You need to create the exact directory structure.
The fragment to patch a given file needs to be placed inside a folder with the name of that file. The patch file containing the fragment is named after the identifier of the generated file part it has to replace.
Before the file patched it is copied to target/backup
(again creating the directory structure). This ways changes to the model or generation process can be checked with the patched files.
The patched content will be marked with the label PATCHED!
.