I've found a few guides that tell how to replace the default version of Apache Ant on OS X; however, I'd rather not do that. My team and I share a common version of Apache Ant and it is stored in a common path on our individual systems. Periodically, we review tools in that path and sometimes update them to use the latest. For example, we have Apache Ant in: [USERPROFILE]/Developer/Tools/Apache/Apache Ant/apache-ant-1.8.2 Should 1.8.3 become available and address some problem, we'd likely want to switch to using it.
How can we configure our systems so that we can easily switch to using a new version of Ant or even revert back to using prior versions. 99% of the time, we simply want to execute "ant" at the command-line and not have to enter the full path to a specific version. I'm guessing there is an ideal .bash_profile setup, but I'm not that familiar with such settings... just guessing.