Invoking the Command-Line Interface
To invoke the command-line interface, you first install and set up Ant. You can then run Ant.
Prerequisites
- Download Ant from http://ant.apache.org and install as directed in the Ant documentation.
- Confirm the value of
ANT_OPTS before executing CLI scripts from the command prompt.
- Windows - Add
set ANT_OPTS=-Xmx1024m
to
%USERPROFILE%\antrc_pre.bat
- UNIX - Add
export ANT_OPTS="-Xmx1024m
to
~/.antrc
Procedure
-
Add the Ant executable to your path.
-
Run
ant -f build.xml, where
build is the name of the build configuration file.
Result
The output states the results of each action specified in the default target in the build file.
Copyright © Cloud Software Group, Inc. All rights reserved.