commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Implementation version check utility code
Date Thu, 15 Mar 2007 20:59:07 GMT
Sorry for the lack of a bracketed subtopic.  But
that's my point.  ;)  I have some code--mostly
extracted from Ant--to check a library's
implementation version, e.g. if you know you need at
least version x.x.x of a class because a bug was fixed
or some such, but there may be no clear indicator in
the library's API to tell you its version.  The code
basically finds the top-level parent whence the class
was loaded (jar file or folder), locates the manifest
and returns the value of its Implementation-Version
attribute.  There is an example archive at

My questions are: what is the overall opinion of the
community on whether this code is gp enough to be of
wide use, and whether it is a smart fit anywhere in
the commons.


Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message