Name |
Gant Macro |
---|---|
Plugin |
Description
Java scripting using Gant
Beta
The 3.2.0 release is the first release of the Gant macro.
Documentation
- Help available in the notation guide.
Common parameters
Parameters
- targets - Comma separated list of targets to run. Defaults to "default" which runs the default target.
- classpath - classpath used for Groovy compiles and runtime. Defaults to the script directory in the Confluence home directory.
Pre-defined variables
- See Java Scripting Plugin for common variables
- See Groovy Macro - all Groovy variables are available for Gant
Usage
{gant} target(default: "A simple hello target") { println("Hello world"); } {gant}
{gant:targets=hello} target(hello: "A simple hello target") { println("Hello world"); } {gant}
{gant:output=wiki|script=#example.gant|var1=test} {gant}
Security
This macro supports Macro Security Plugin.
Open Issues
List of issues for the Gant component