Creating a WAR file
843804Nov 14 2002 — edited Nov 15 2002Help! desperate!
I have developed a java web application with jrun development server. Now I would like to create a war file so that it can be deployed in a production server.
Currently, I am testing whether creating war file works. Hence I created a temporary directory names rootDir in my C drive and copied the web app into that.
This is all it looks now.
C:\rootDir\myApp
jdk home is in C drive also. jar app resides in the bin sub directory.
C:\jdk1.3.1_02\bin
This is how I issued the command.
C:\rootDir\myApp\jar cvf myApp.war
This is the message I received.
'c' flag requires that input files be specified.
Does this mean that I have to specify all the files which need to go into the war file. I hope not!
Sue