In Rational Team Concert, a build definition describes
the key components of a build.
The build definition describes:
- The workspace to process.
- The Ant scripts and targets to run against the workspace.
- The schedule for the build.
- Properties that simplify the configuration of the build.
- The build engines that are able to handle build requests for the
build definition.
Information about how to set up build definitions is available
under Building with Jazz™ Team
Buildon the CLM v4.0 information center. The following considerations
are particular to building Worklight mobile applications.
Supporting Build Engines
When you specify a
build engine for running build requests for the build definition,
ensure that the following items are installed and configured on the
build engine:
- Any SDKs that are necessary, such as the Android SDK, or Apple Xcode
SDK, are installed and configured on the build engine.
Ant Build File and Targets
Ant Configuration
Check the option to include the Jazz build
toolkit tasks on the Ant library path.
Set the Ant home field to the location
on the build computers where Apache Ant 1.8.3 or higher is installed.
- In the Ant arguments field, set the -lib arguments
that are necessary to include the worklight-ant.jar, applicationcenterdeploytool.jar,
and json4j.jar libraries on the Ant library path. The
format is -lib path\JAR file
name, where path is the build
computer to the directory that contains the JAR file. The path might
be to a location on the build computers where the JAR libraries were pre-installed,
or it might be to a location within the loaded workspace if you have chosen
to include the JAR libraries in the build workspace.
Set the Java home field to the location
on the build computers where Oracle JDK 6 is installed.