aspose file tools
The moose likes Beginning Java and the fly likes Display contents of jar within war Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Display contents of jar within war" Watch "Display contents of jar within war" New topic
Author

Display contents of jar within war

Mohtashim Shaikh
Ranch Hand

Joined: Jul 18, 2010
Posts: 43
jar -tvf hello.war

however my war also contain some .jar inside lib folder withing the war.

I need a command display the contents of all the jars withing the war.

Can you help me?

Regards,
Mohtashim
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Instead of using commands isn't it much easier to use something like WinRar to browse your war/jar?


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Mohtashim Shaikh
Ranch Hand

Joined: Jul 18, 2010
Posts: 43
I am trying to incorporate the command in a script that runs on Unix. Hence I would need the command or a workaround for the same.

Regards,
Mohtashim
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Display contents of jar within war
 
Similar Threads
Problems creating WAR file
war could not be opened, does it exist?
How do I read a .WAR file ?
integrating struts and spring
three day headache - ClassCastException