Order a VPS, Semi- dedicated or Dedicated server in Dallas, London or Australia.
Ask our support team about your hosting requirements.
Host where the staff takes pride in making customers happy
On a side note, I've got to say, my experience since I've changed to Rimu has been unmatched by any of my prior hosts. You guys know your stuff and have been a great help through my 'growing pains'. The hosting plans are solid, generous and a joy to work with--who could ask for any more control over their environment?
- Jason (after we helped out a bit with subversion and viewcvs setup) (#204/312)
Apache Ant
Ant is very a popular 'make' tool. That is commonly used on Java projects. e.g. to compile java files, create jar files and deploy webapps to application servers.
Cut and Paste Ant Install Script
function installant() {
# get the latest version number
antarchive=$(wget -O - -q http://www.apache.org/dist/ant/binaries/ | grep 'tar.bz2<' | sed 's/^.*<a .*>\(.*\)<\/a>.*$/\1/')
if [ -z "$antarchive" ]; then
antarchive="apache-ant-1.7.1-bin.tar.bz2"
fi
pushd /usr/local
wget -O - "http://www.apache.org/dist/ant/binaries/$antarchive" |
tar xj
if [ $? -ne 0 ]; then
echo "Failed getting ant binary from 'http://www.apache.org/dist/ant/binaries/$antarchive'" >&2
return 1
fi
if [ -e /usr/local/apache-ant ]; then
mv /usr/local/apache-ant /usr/local/old.apache-ant
fi
mv /usr/local/`basename $antarchive -bin.tar.bz2` /usr/local/apache-ant
popd
mkdir -p /etc/profile.d/
echo 'export ANT_HOME=/usr/local/apache-ant
export PATH=$PATH:/usr/local/apache-ant/bin' > /etc/profile.d/ant.sh
chmod +x /etc/profile.d/ant.sh
/usr/local/apache-ant/bin/ant -version
}
installant

