Bug 35583 - Offer Version class (like other Apache projects)
Summary: Offer Version class (like other Apache projects)
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 2.5-FINAL
Hardware: PC Windows 2000
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2005-07-01 17:49 UTC by M.H.
Modified: 2008-07-24 10:14 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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

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