This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
suppose your deployment directory is "VoterApp" that is present in "d:\" then you go to that location from command prompt. After you type the below given....
d:\VoterApp>jar cf VoterApp.war .
c--->create war file
f---->specify the war file name
. --->dot represents the current directory.It tells us take everything of current directory and create war file of that aplication.
another precation is that you must give space between VoterApp.war and .(dot).
Joined: Oct 13, 2005
Welcome to the Ranch
Are you sure he is still trying to make that war file?