From 4791ccae3f2ec9adcc184b8df921cdd3fa43d46e Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Thu, 4 Jan 2001 13:48:50 +0000 Subject: [PATCH] General documentation update. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268400 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 4 --- docs/index.html | 93 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 62 insertions(+), 35 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index 600ee4850..ae2f5754f 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -9,10 +9,6 @@ Changes that could break older environments: * has been replaced by a number of new tasks. -* Ant now throws a BuildException when an attempt is made to use a property - which has not been set. Any build files which rely on non-set properties - being passed through untranslated will now break. - Other changes: -------------- diff --git a/docs/index.html b/docs/index.html index ab15bef13..1bea0755e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -37,8 +37,8 @@
  • Introduction
  • Getting Ant
  • System Requirements
  • -
  • Building Ant
  • Installing Ant
  • +
  • Building Ant
  • Running Ant
  • Writing a simple buildfile
  • Directory based tasks
  • @@ -101,39 +101,24 @@ build Ant from the source code.


    System Requirements

    - To build and use ant you must have a JAXP compliant XML parser installed and available on your classpath. + To build and use Ant you must have a JAXP compliant XML parser installed and available on your classpath.

    - If you do not have a JAXP compliant XML parse installed, you may use the reference implementation - available from Sun. It is available from http://java.sun.com/xml/. - Once installed make sure the "jaxp.jar" and "parser.jar" files are in your classpath. + Both the binary and source distributions of Ant include the reference implementation of JAXP 1.0. + Please see http://java.sun.com/xml/ for more information. + If you wish to use a different, JAXP-compliant parser, you should remove jaxp.jar and parser.jar + from Ant's lib/core directory. You can then either put the jars from your preferred parser into Ant's + lib/core directory or put the jars on the system classpath.

    - You will also need the JDK installed on your system, version 1.1 or later. + For the current version of Ant, you will also need the JDK installed on your system, version 1.1 + or later. A future version of Ant will require JDK 1.2 or later.

    -
    -

    Building Ant

    -

    Go to the directory jakarta-ant.

    -

    Make sure the JDK is in you path.

    -

    Set the JAVA_HOME environment variable. This should be set to the -directory where the JDK is installed. See Installing Ant -for examples on how to do this for your operating system.

    -

    Make sure you have downloaded any auxilliary jars required to build tasks you are interested in. The list of auxilliary tasks and requirements is in lib/README

    -

    Run bootstrap.bat (Windows) or bootstrap.sh (UNIX) -to build a bootstrap version of Ant.

    -

    When finished, use

    -
    -

    build.bat -Dant.dist.dir=<directory to install Ant> dist

    -
    -

    for Windows, and

    -
    -

    build.sh -Dant.dist.dir=<directory to install Ant> dist

    -
    -

    for UNIX, to create a binary distribution of Ant. This distribution can be -found in the directory you specified.

    +

    Installing Ant

    -

    The binary distribution of Ant consists of three directories: bin, -docs and lib. Only the bin and lib -directory are crucial for running Ant. To run Ant, the following must be done:

    +

    The binary distribution of Ant consists of four directories: bin, +docs, lib and src. Only the bin +and lib directory are required for running Ant. To run Ant, the +following must be done: