LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2005, 05:16 AM   #1
zakidad
LQ Newbie
 
Registered: Aug 2004
Location: Serdang
Distribution: none
Posts: 26

Rep: Reputation: 15
Extracting .war files


Hi all.
I found out in the manual of some softwares requires extracting .WAR files.
Can any one tell me how to extract a .war files?
Thanks
 
Old 07-14-2005, 05:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,761

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
.war is a zipped file, so you can use unzip to extract it's contents.

Regards
 
Old 11-12-2007, 11:43 PM   #3
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
Web Archive (WAR) files can be unpacked/extract by java archiving tool jar command

Code:
#jar -xvf webApplicationfilename.war
 
Old 11-12-2007, 11:51 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
If it was produced by konqueror, the it is a gzip archive:
Code:
file ONLamp.com\ --\ Customizing\ X\ Window\ An\ Introduction.war
ONLamp.com -- Customizing X Window An Introduction.war: gzip compressed data, was "", from Unix, last modified: Wed Nov  7 00:15:14 2007
You can extract the archive with tar: tar xvzf archive.war
The f option needs to precede the file argument. Tar is an old program, written before dashes were used for arguments, so they are optional.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting ISO-files The Karl Linux - Software 8 03-23-2005 03:01 AM
Extracting many zip files xconspirisist Linux - Software 2 07-18-2004 01:43 PM
extracting .gz files MACSRULE Linux - Newbie 2 04-13-2004 06:16 PM
Extracting files BriceM Linux - General 3 08-15-2003 03:00 PM
extracting files jester_69 Linux - General 5 05-19-2002 11:21 PM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration