This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hmm, i am not sure i understand what you are saying. Sorry
no i meant the copying of war file to the deploy folder automatically
Are you saying that you are going to copy it ("automatically") through some build script? Irrespective of how to copy it to the deploy folder, the file will be picked up for deployment. As a side note, if the file copy is in progress and not completed yet, then the hot deployment scanner can end up picking a corrupt file for deployment. So a better option would be to "move" the file to deploy folder (which is an atomic operation).