Template Hierarchy
Pre-release
Pre-release
This beta release brings major changes to the template system
Old templates will not work any longer!
You have to change your configuration!
-
The template API has changed and is not compatible to the old API.
-
The configuration variable
TEMPLATE_DIR
is replaced byTEMPLATE
. Instead of a directory it has to set a concrete template file. This template file has to extend FTGTemplate.tmpl by defining all needed parts, see for example templates/Standalone/Standalone.tmpl. The individual parts still can be contained in separate files, but those have to be included by the main file.Mandatory parts:
captureBeforeContains
captureAfterLastSpecification
captureBeforeEnd
captureAfterSubroutine
export
replay
-
Templates can inherit from other templates and redefine only some parts.
Current template hierarchy:
FTGTemplate.tmpl
│
└─ templates/Standalone/Standalone.tmpl
│
├─ templates/StandaloneNoMPI/StandaloneNoMPI.tmpl
│
└─ templates/IconStandalone/IconStandalone.tmpl
│
└─ templates/IconTestbed/IconTestbed.tmpl
- There is still no documentation available. SORRY!
Just copy one template and try out yourself.