@Laurent_R: salva's comment worked for me so i'll go for that. :) Just to let you know, Jenkins is a tool which facilitates continuous integration. It is worth looking if you want to automate the whole development cycle (dev > integration > staging > prod) using a user-friendly interface especially for Java projects. Thanks for your help. :)