As every body knows in agile methodology now we need continuous build integration. I used hudson and its amazing. http://hudson-ci.org/ Download and install.
Start the hudson in root. Though its a bad practice so many rights issue raising. Update the file : /etc/sysconfig/hudson for hudson user start up and to add environment variables. Adding environment variables in Hudson -> Manage Hudson -> Configure System sucks.
Having said tool is really great to work .
Below from the hudson configuration file :
export ANT_HOME="/opt/apache-ant-1.8.3"
export PATH=${PATH}:${ANT_HOME}/bin
export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
hudson-url/manage -> configure system
hudson build / configure (configuration)