This is simple installation instruction. it can be done as unprivileged user (you might want sudo to root for some commands - but you dont really have to - youll just need to provide full length paths) you need to have:
1. subversion (if you want trunk version instead of last stable)
2. java - jdk and sdk
3. ant 1.7 - currently not in debian etch repositories so Im compiling it from source
Install Apache Ant Ant 1.7:
wget http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.0-bin.tar.gz
tar -zxf apache-ant-1.7.0-bin.tar.gz
sudo mv apache-ant-1.7.0 /opt/ant # you dont need this
export ANT_HOME=/opt/ant
sudo ln -s /opt/ant/bin/ant /usr/bin/ant # shortcut - you sould now be able to use ant