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.
What is the best way to make a war file from within a web server using jar? My problem is, I don't know what directories and subdirectories to include. I've seen jar syntax: <prompt>jar <war app name>.war .
The dot at the end signifies copying everything in the current directory, but the war file created this way does'nt work If I'm in the "class" subdirectory when I create the war file.
What procedures should I follow to make a war file that deploys correctly when placed in C:\Tomcat\webapps\
Should I still use: <prompt>jar <war app name>.war . but, from another location?
Posting a step-by-step procedure for creating and deploying war files would be very handy for those of us tired of searching and buying books without answers.