[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jar tool search utility...



On Wed, 20 Nov 2002, Chris Graham wrote:

> I can never remember which JAR file has the class I need, and I always end 
> up searching through all the classes inside the jar files until I find 
> it.  I was wondering if anyone knew if there was a way to lookup a class to 
> see what jar file it was a part of...or some utility that would search all 
> the jar files in a directory, and return the JAR file name that contains 
> the class I'm looking for?
> 
> Thanks,
> 
> --Chris
> 

This is solving that problem on my W2k + cygwin machine:

for %x in (*.jar) do grep -iH Outputter %x

-- 
+--------------------------------+
|         Jerzy Puchala          |
+--------------------------------+
|       jerzypuc@scdi.com        |
+--------------------------------+