Also, you could use unzip and grep. I do this sometimes to check to make sure something I intended to be in a .jar/.war/.ear/.zip file is really there:

unzip -v something.jar | grep security

Sprinkle a little Unix magic to loop over all .jar files in the filesystem and voila. :)

On Friday, January 10, 2003, at 01:40 PM, Thomas Hicks wrote:
At 01:24 PM 1/10/2003 -0500, you wrote:
You're the Unix guru... :) I suspect it'd be a one-liner to do something with 'find' and 'setenv CLASSPATH'.... right?

Sorry for not answering the question... oops.
Wow...that sounds like a brute force approach. :)
This got me thinking though, just how many JARs are
sitting out there?  The answer for me:

On my 1/3 full 40G drive there are 1410 JAR files!
Many of these are redundant, of course, as every
software package seems to distribute the JARs it needs.
Still, it's a bigger number than I might have imagined.
        -tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to