Friday, May 11, 2012

Install Apache Ant, build and write Script

Install ant in linux :

a. Download apache ant latest release always : http://ant.apache.org/bindownload.cgi

b. Extract the zip folder or .tar.gz

c. Set environment variable for ANT_HOME and JAVA_HOME in .bashrc file. Add ANT_HOME/bin into PATH Env variable.

  i) which java (This command in terminal tells you the java installed path)
export JAVA_HOME="/usr/lib/jvm/java-6-openjdk"
export ANT_HOME="/home/gubendran/java/apache-ant-1.8.3"
export PATH="${PATH}:${ANT_HOME}/bin"

d. Execute the .bashrc file. source ~/.bashrc

e. Just Read manual from apache  (Click tutorial to do Hello World using Apache Ant. Its simple and excellent : http://ant.apache.org/manual/)

f. Create build.xml file
g. Run the ant script using target name : ant clean compile jar run





Tuesday, May 8, 2012

Websites you should bookmark

Business News
businessinsider.com

Geek
howtogeek.com
theserverside.com

Movie Ratings
http://www.rottentomatoes.com/

Find out crime info. in US street wise
http://www.trulia.com/

News
ndtv.com

Good forum site
stackoverflow.com

Best Website to buy anything 
amazon.com

Free Diet Plans
http://www.sparkpeople.com/

Order kids things in India
http://www.hoopos.com/

Car Websites (Rental cars App)
http://www.zipcar.com/ (Good web-site. You will get car for an hourly basis in nearby location for cheap)
http://www.enterprise.com/car_rental/home.do
getaround.com (Peer-to-Peer rental cars)
// Below script tag for SyntaxHighLighter