Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Document Properties Marker
overridefalse
Short DescriptionPatching generated content may go so far to replace the whole file.
Doctypetopichide
NameReplace whole File
Short Name
Parent
Parent Property
propertyParent
property-nameName

Audience
Name List
doctyperole
render-no-hits-as-blanktrue
propertyAudience

Level of Experience
Name List
doctypeexperience-level
render-no-hits-as-blanktrue
propertyLevel of Experience

Expected Duration
Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags
Tag List
propertyTags

Iteration

Iteration
valuefinished

hide
Type
Name List
doctypetopic-type
render-no-hits-as-blanktrue
propertyType

Sponsors
Name List
doctypestakeholder
render-no-hits-as-blanktrue
propertySponsors

Sort Key000200hide
Section
show-titlefalse
titleDescription

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.

...