• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display contents of jar within war

 
Mohtashim Shaikh
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of using commands isn't it much easier to use something like WinRar to browse your war/jar?
 
Mohtashim Shaikh
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic