Generating output using Ant

You can use Ant scripts to call the XSLT scripts and provide parameters for the transformations.

  1. Create a Ant script that contains targets for the output that you want to build.
  2. Run either the startcmd.bat or startcmd.sh file.
  3. From the command prompt, type the following string and press Enter:
    ant  -f build_file target
    where
    • -l log_file is a optional parameter that will log the X to log_file. By default, the X is displayed in the command-prompt window.
    • -f build_file is an optional parameter that specifies the Ant script. If you do not issue this parameter, Ant looks for a build.xml file in the current directory.
    • target is the name of the Ant target that you want to run.
Related reference
Ant targets
Related information
Apache Ant 1.7.1 manual