Project

jartools

0.0
No commit activity in last 3 years
No release in over 3 years
jartools provides a busybox of command-line tools for examining the contents and metadata of java archive files (JARs and WARs).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.3

Runtime

~> 1.1.2
= 0.9.4
~> 0.14.0
 Project Readme

jartools

jartools is a command-line utility for examining java archives (JARs and WARs). It is a complement to (not a replacement for) the standard jar utility.

It is designed to use streams in the standard unix style so it can be composed with other stream-processing tools (e.g., grep, xargs).

Installing jartools

jartools is distributed as a rubygem. Install it like so:

$ gem install jartools

Depending on how your ruby is installed, you may need root privileges to do this.

It's been tested on Ruby 1.8.7, JRuby 1.5.6, and Ruby 1.9.2.

Using jartools

To see what tools are included in the version you have installed, you can do this:

$ jartools help

To get details on a particular tool, use, e.g.:

$ jartools help packages

This online help tells you what arguments may be passed to each command.

Tools included

packages

Lists all the packages present in a JAR.

manifest

Prints the JAR's manifest (if any) to standard out.

diff

Does a diff of two JARs or WARs, including file content diffs and recursive diffs of contained JARs.

Project links

Non-issue questions can be sent to rhett@detailedbalance.net.

About

jartools is copyright 2010 Rhett Sutphin. It was built at NUBIC.