You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by ji...@apache.org on 2004/04/16 14:25:50 UTC

[jira] Commented: (AVALON-2) Standard Apache Version retrieval

The following comment has been added to this issue:

     Author: Martin Hilpert
    Created: Fri, 16 Apr 2004 5:25 AM
       Body:
By the way: this getVersion(String) method still exists in Avalon Framework 4.1.5.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AVALON-2?page=comments#action_35060

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AVALON-2

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AVALON-2
    Summary: Standard Apache Version retrieval
       Type: Improvement

     Status: Unassigned
   Priority: Minor

    Project: Avalon Framework

   Assignee: 
   Reporter: Martin Hilpert

    Created: Fri, 16 Apr 2004 5:24 AM
    Updated: Fri, 16 Apr 2004 5:25 AM

Description:
To retrieve the version number of a Apache library, there is a getVersion() method. For Apache Xalan, Apache Xerces, these static methods work as expected:

org.apache.xalan.Version.getVersion()
org.apache.xerces.impl.Version.getVersion()

but for Apache Avalon Framework, the getVersion() does not return the version number. It just returns the string that is required as a parameter:

org.apache.avalon.framework.Version.getVersion("hello")

which is pretty senseless. There should be an equivalent static getVersion() method (without parameters) that returns the version number of the used avalon-framework.jar.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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