wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "war file" Watch "war file" New topic
Author

war file

sihani rani
Ranch Hand

Joined: Jun 22, 2010
Posts: 32

how do i extract war file...


where i give command to extract war file??








please reply,
thanks in advance
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

WAR file is basically a ZIP file, same thing like JAR. You can use jar command in Java, unzip command in Linux, WinZip, 7-Zip, WinRAR, etc.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3019
    
  35

Why do you need to extract it?


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
sihani rani
Ranch Hand

Joined: Jun 22, 2010
Posts: 32
my project is in war format..i reopen that project in eclipse..

how can i open war file in eclipse??
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3019
    
  35

sihani rani wrote:my project is in war format

Did you mean the source?
Rahul Nair
Ranch Hand

Joined: Dec 01, 2007
Posts: 138
sihani rani wrote:my project is in war format..i reopen that project in eclipse..

how can i open war file in eclipse??


To open war file in Eclipse, you may import the war file to Eclipse through Import option from File Menu.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
I am not sure you can open a war file via eclipse as someone mentioned. A war file is basically a zip file with a .war extension. So, you can use any unzipping utility available to you to view its contents.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
jQuery in Action, 2nd edition
 
subject: war file
 
Similar Threads
How to create a war file
Refer To dir & files in WAR
Problem deploying simple war file in jboss
Context and WAR file
Why to extract war file?