Options are used to fine-tune the behavior of the FileTemplate template processor as well as the behavior of the template.
Global options
Global options govern the behavior of the template processor.
Table 1.5. Global options
|
option |
desctiption |
valid values |
default value |
|---|---|---|---|
|
destination |
Destination directory where the results will be constructed. |
valid directory path (will be created if it does not exist) |
current directory |
Template options
Template options can be used to specify how a particular template is processed. Templates may use additional, template-specific options, as is the case with sandbox options.
Table 1.6. Template options
|
option |
desctiption |
valid values |
default value |
|---|---|---|---|
|
template |
Template directory |
valid directory |
|
|
into |
Determines where the output of the template will be placed inside the resulting tree |
valid directoy in resulting tree |
root of the resulting tree |
|
ignore |
Ignores a file or directory of the source template tree |
file or directory in source template tree |
|
|
fignore |
Ignores all files in the source template tree that have the specified suffix |
file suffix |
|
Options can be specified using the command line. See the invocation phase reference for more information. If an option is not specified in the command line, and it has no default value, the user will be prompted for the value.