|Summary:||Offer Version class (like other Apache projects)|
|Component:||POI Overall||Assignee:||POI Developers List <dev>|
Description M.H. 2005-07-01 17:49:39 UTC
I wonder how to get the POI Version info during runtime. Other Apache projects like avalon, batik, xalan, xerces, xmlcommons all have a Version class for this.
Comment 1 Nick Burch 2008-07-10 16:11:22 UTC
We'd probably want to have this auto-generated by the jar task, so that it's always updated. I'll look at adding this in soon
Comment 2 Nick Burch 2008-07-12 12:37:51 UTC
org.apache.poi.Version is now generated when producing the jars. It includes xalan-like methods for querying the version and build date
Comment 3 M.H. 2008-07-24 06:00:29 UTC
Can't find it in the online javadocs or the trunk site (http://svn.apache.org/repos/asf/poi/trunk/src/) ... is it already available?
Comment 4 Nick Burch 2008-07-24 10:14:51 UTC
http://svn.apache.org/repos/asf/poi/trunk/src/resources/version/Version.java.template It gets generated on the fly by the jar ant task, which populates the template with the current version. So, it'll only be there once you run the jar task