Of course, you'd have to actually find the JAR files to begin with. Though you should be able to specify a directory and recursively check each directory for any JAR files. I have no idea how long this would take.
b) create a temp-Dir
c) create a script, to get the version:
d) find all jars in a directory, and execute your script:
a) find is integrated in GNU/Linux, and maybee in Solaris and MacOS too.
For MS, you have to download it: http://unxutils.sourceforge.net/
and use the full path, since MS has a find itself.
Created-By: Apache Ant 1.5.1
Created-By: Apache Ant 1.5.1beta1
Created-By: 1.4.2_04-b05 (Sun Microsystems Inc.)
Created-By: Ant 1.4.1
Created-By: 1.5.0_10 (Sun Microsystems Inc.)
Created-By: 1.3.0_02 (Sun Microsystems Inc.)
Created-By: 1.2.2 (Sun Microsystems Inc.)
Created-By: 1.2 (Sun Microsystems Inc.)
Normally, directory are separated with backslash on MS, but after downloading the native win32 ports of some gnu-utils, you may use sh.exe.
Else you have to translate the jarver.sh
On MS, you need to fix your path yourself, or give the full path to grep.exe which isn't included in MS (but again in the gnu-utils).
Perhaps a grep and a better find are included in Vista.
[ March 05, 2007: Message edited by: Stefan Wagner ]