Vous êtes sur la page 1sur 1

To get up and running with the binary edition of Ant quickly, follow these steps

:
1. Make sure you have a Java environment installed.
2. Download Ant.
3. Uncompress the downloaded file into a directory.
4. Set environment variable JAVA_HOME to your Java environment,
5. Set environment variable ANT_HOME to the directory you uncompressed Ant to
6. Add ${ANT_HOME}/bin (Unix) or %ANT_HOME%/bin (Windows) to your PATH.
On Windows :
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk-1.5.0.05
set PATH=%PATH%;%ANT_HOME%\bin

On Linux/Unix (csh):
setenv ANT_HOME /usr/local/ant
setenv JAVA_HOME /usr/local/jdk/jdk-1.5.0.05
set path=( $path $ANT_HOME/bin )

Vous aimerez peut-être aussi