Build with Ant

Version 2 by Robin Shen
on Aug 06, 2009 04:58.


compared with
Current by Robin Shen
on Aug 07, 2009 05:33.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 3 changes. View first change.

 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.