On Thu, 10 Jul 2008 14:46:42 -0700, Daniel Norton wrote:
> Here, under "Installing Ant"
>
> http://ant.apache.org/manual/
>
> It reads, "Set the ANT_HOME environment variable to the directory
> where you installed Ant."
>
> A bit circular, isn't it?
>
Not really. You'll be running ant from your project directories, which
have no fixed relationship to the installation directory.
The 'ant' command is a shell script which is typically on your search
path. It needs to (a) run code in a number of jar files in the ant library
directory and (b) read config files in the ant etc directory. $ANT_HOME
references the directory that contains both of these directories.
--
martin@ | Martin Gregorie
gregorie. |
org | Zappa fan & glider pilot