File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes how to make a .war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to make a .war file" Watch "how to make a .war file" New topic

how to make a .war file

mazoun yusuf

Joined: Feb 11, 2005
Posts: 19
how can u make a .war file in order to deploy a file

Arto Pastinen
Ranch Hand

Joined: Dec 13, 2002
Posts: 79
I use maven to build my projects. Internally it uses ant task.
Tim Baker
Ranch Hand

Joined: Oct 04, 2003
Posts: 541
I Use ant, and ant has a jar task, which can create wars
<jar destfile="releases/new/packages/gwa.war" basedir="releases/new/files" />

If you want to do it via the command lind you use the jar command, which you use according to these instructions:

Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
I agree. Here's the link:
subject: how to make a .war file
It's not a secret anymore!