On 12/28/06, Mark Volkmann <r.mark.volkmann / gmail.com> wrote: > How can I read the entries in a Java .jar file from Ruby? > > I tried the standard library Zlib, but that doesn't work ... I think > because .jar files use the zip format instead of the gzip format. > > I tried the rubyzip library at http://rubyzip.sourceforge.net/. For > some reason that didn't get to all the entries in the file, only > "META-INF/" and "META-INF/MANIFEST.MF". Perhaps you should simply call the jar program, or unzip, instead of trying to read the file directly. Mike -- Michael P. Soulier <msoulier / digitaltorque.ca> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein