LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 06: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, 06:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

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

Regards
 
Old 11-13-2007, 12:43 AM   #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-13-2007, 12:51 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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 04:01 AM
Extracting many zip files xconspirisist Linux - Software 2 07-18-2004 02:43 PM
extracting .gz files MACSRULE Linux - Newbie 2 04-13-2004 07:16 PM
Extracting files BriceM Linux - General 3 08-15-2003 04:00 PM
extracting files jester_69 Linux - General 5 05-20-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 PM.

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