?
Solved

How to create .war file

Posted on 2009-04-06
2
Medium Priority
?
1,981 Views
Last Modified: 2013-12-16
I have a CentOS 5.2 server, what program do i need to install in order to create a war file from a folder? what program to i need to install on server and what command will i need to run?
0
Comment
Question by:Jhonn_Sorroza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 1000 total points
ID: 24082911
There are a couple of tools in the J2EE SDK and the JDK/J2SE capable of creating .war files (http://java.sun.com/javaee/downloads/index.jsp):
deploytool, packager, ant, and jar.

For more info, check here under "Creating a .WAR file": http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/WCC3.html
0
 
LVL 14

Assisted Solution

by:Deepak Kosaraju
Deepak Kosaraju earned 1000 total points
ID: 24083004
I hope following command helps, Java is dependency for this.

Reference Link:
http://www.linuxforums.org/forum/linux-programming-scripting/103940-create-war-file.html

#jar cvf app.war *

Open in new window

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question