• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make a .war file

 
mazoun yusuf
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can u make a .war file in order to deploy a file

mazoun
 
Arto Pastinen
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use maven to build my projects. Internally it uses ant task.
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Use ant, and ant has a jar task, which can create wars
eg
<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:

http://java.sun.com/docs/books/tutorial/jar/basics/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic