On Linux i can use file-roller and open an browse the content of an EAR file without manually open it, can even dig into contained WAR file and within that JAR files quickly.
This is another of those must have tools I'm missing on OSX (along with meld).
Any good tools that can do this ?
Update: I found a tool that fits my needs : http://www.zipeg.com/
Honorable mention to midnight commander (MC) - but it's command line (but very fast) as well as newer versions of VI (which can go into zipped files)
Any OS X ZIP utility that can open files without unpacking them will do. Alternatively, open a terminal window and type:
jar tvf <filename.jar>
You can drag the file from Finder to the Terminal window, and it will populate the filename for you. You can also pipe the output into less to scroll up and down.
jar tvf <filename.jar> | less
I copy it to a ".zip" file and then use my zip utilities to peek inside.
.ear
s, .war
s, and .jar
s are just zip files with additional required items packed inside.
If you want to extract the contents, you can unzip them. Java contains a jar
command that provides ability to zip / unzip the archives (and extra verifications that the archives are properly jar files).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With