Telosys variables
Telosys provides a set of predefined variables which can be used in all template files.
Standard variables
Standard variables have predefined names, their values are either set by Telosys or can be defined in the project configuration.
Special characters
These variables are used to simplify the writing of templates when certain special characters are required and are difficult to mix with Velocity syntax.
These variables should be considered as "constants" and used as such.
Project configuration
These variables are specific for each project. They can be defined in the project configuration file ( "telosys-tools.cfg" )
All the project configuration variables are usable in both templates files (".vm" files) and bundle configuration file ("templates.cfg").
Directories
Packages
Variables usable for target languages having a notion of "packages" or "modules" or "namespaces" (Java, Golang, C#, etc)
Specific variables
If you need more variables for your project you can define them in the project configuration file "telosys-tools.cfg".
Once defined, these specific variables are usable exactly like standard variables.
You can use them in both templates files (".vm" files) and bundle configuration file ("templates.cfg").
Last updated