Thursday, June 11, 2009

Handy command to see whether a class file exists in your lib/dir

$find ~chiradip/.m2/repository/ -name *.jar -exec jar tvf {} \; egrep 'Spring'
Another command that does the similar thing
$for line in `ls *.jar`; do echo $line; jar tvf $line egrep 'Spring'; done

No comments: