commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <craig...@apache.org>
Subject Re: [digester] runtime version info
Date Tue, 30 Mar 2004 06:33:39 GMT
Noel J. Bergman wrote:

>"This class implements the upcoming standard of having
>org.apache.project-name.Version.getVersion() be a standard way to get
>version information."
>
>That's news to me.  I suspect it is news to most.  As far as I know, it may
>be someone's strawman and/or wishful thinking, but this is the first I have
>heard about it.
>
>  
>
It's news to me too (maybe it's an XML-land thing?).

It also sounds pretty much redundant with the existing JDK mechanisms 
for version discovery (which are based on information in 
META-INF/MANIFEST.MF).  In particular, check out the javadocs for 
java.lang.Package and the associated information on Package Version 
Identification in the JDK docs.  See, for example:

  http://java.sun.com/j2se/1.4.2/docs/guide/versioning/index.html

If your project is a good citizen about creating MANIFEST.MF files in 
your JARs, you get this stuff for free.

>	--- Noel
>
>  
>
Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message