January 4, 2011

random Jim Croce-inspired madness

If I could save Time in a Timesheet
if Jobs could make iPods call you
Google would cache every page til Eternity passes
and then it would trend them for you….

January 3, 2011

one of the most useful commands ever for j2ee development

at least for me:

find . -name \*.jar -exec jar -tf \{\} \; -print > ../alljars.txt

What this does:

  1. find every file in or below this directory with an extension of .jar
  2. create a listing of every file in that .jar file
  3. outputs that listing, including the name of the originating jar file at the bottom into one big text file:  alljars.txt

You can now search for classes/resources you need in the alljars.txt file – and when you find it, simply scroll down to find the name of the jar file the class you are looking for is in.