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. Before the file is replaced 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 overridden files. The name of the properties files for the resource bundle need to follow the following naming scheme: Example Box |
---|
The directory layout with replacement files for patching looks like this.
The file create-space.soy will replace the file with the same path and name in the generated folder. |
|