Starts Velocity. The command belongs to the group "Velocity".
Parameter Name | Description | Type |
---|---|---|
MacroFileName | Path and filename of the Velocity-macrofile. | valueexpression |
Mode | Defines the mode, how to run the template ([overwrite] = overwrite, [keep] = keep if existing, [keepPS] = keep protected sections). | valueexpression |
NodeRef | The name of the reference to the (XML-)Node to be merged with the template. | nodeReference |
OutputFileName | Path and filename of the generated output. | valueexpression |
TemplateFileName | Path and filename of the Velocity-template. | valueexpression |
<RunVelocity NodeRef="$inDocument" TemplateFileName="myVelocityTemplate.vm" OutputFileName="Clazz.java" />