Solved

How to create .war file

Posted on 2009-04-06
2
1,932 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
2 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 250 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 250 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now