This documentation relates to QuickBuild 2.0.x
You are viewing a different version of QuickBuild. Please refer to the listing to choose another version.
QuickBuild supports [Ant|http://ant.apache.org] based build through the Ant build step. Ant build step can be added by selecting menu item _Build/Ant_ from the step menu.
QuickBuild supports [Ant|http://ant.apache.org] based build through the Ant build step. Ant build step can be added by selecting menu item _Build -> Ant_ from the step menu.
(i) Refer to [plugin management|Plugin Management] on how to configure a plugin.
QuickBuild calls the command _ant_ to run Ant build script. If this command is not in system path, you will need to specify its location in plugin setting of the Ant plugin through [plugin management] page.
Further more, ant command location can be specified on a per-node basis by following below steps:
# Open Ant plugin setting page and set the property _Ant Executable Path_ as:
{code}
${node.getAttribute("antPath")}
{code}
# For each node that does not have command _ant_ on system path, [define the user attribute|Working with Build Grid#define user attributes] _antPath_ to point to the actual ant command path, for example:
{code}
antPath=/home/robin/bin/ant
{code}
In case of user agent node, the user attribute need to be defined [in this way|Manage User Agent#define user attributes].
The property _Default Ant Executable Path_ needs to be set as default location and it needs to point to the location where you installed Ant. This default location will be used if Ant path is not specified when you configure the Ant build step.
After the plugin is configured, you can add the Ant build step to the build process as follows:
!add-ant-build-step.png!
Please note that in above example, the _antPath_ user attribute is just for demonstration purpose. You can use any other user attribute name.