Apache Ant 1.8 0



Apache Ant Launcher » 1.8.2. Apache Ant Launcher License: Apache 2.0: Date (Dec 27, 2010) Files: pom (2 KB) jar (12 KB) View All: Repositories: Central Apache Releases Redhat GA: Used By: 178 artifacts: Note: There is a new version for this artifact. New Version: 1.10.9. The current source code has been tested to work with Ant version 1.9.x and 1.10.x. Remember to set the ANTHOME environment variable to where Ant was installed/extracted and add ANTHOME/bin to your shell's PATH. If you are unsure about the correct value for ANTHOME, search your file system for 'ant.

Apache Ant 1.8.1

Ant

Use the following commands to build Tomcat:
cd ${tomcat.source}
ant

WARNING: Running this command will download libraries required to build Tomcat to the /usr/share/java directory by default. On a typical Linux or MacOX system, an ordinary user will not have access to write to this directory, and, even if you do, it is likely not appropriate for you to write there. On Windows this usually corresponds to the C:usrsharejava directory, unless Cygwin is used. Read below to learn how to customize the directory used to download the binaries.

NOTE: Users accessing the Internet through a proxy must use a properties file to indicate to Ant the proxy configuration. Read below for details.

The build can be controlled by creating a ${tomcat.source}/build.properties file and adding the following content to it:

Apache-ant-1.8.1Apache Ant 1.8 0

Then to build Apache EasyAnt from source, assuming you have Apache Ant™ 1.8.0+ and a jdk 1.5+ installed, then you only need to run the following command: ant clean run -Dtarget=dist Then you will find easyant-core.jar in target/artifacts. Org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6 (compile) Maven Wagon Lightweight HTTP Provider Description: Wagon that gets and puts artifacts through http using standard Java library.

Apache Ant 1.8.2

Once the build has completed successfully, a usable Tomcat installation will have been produced in the ${tomcat.source}/output/build directory, and can be started and stopped with the usual scripts.