You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/02/11 16:10:10 UTC
DO NOT REPLY [Bug 17862] - Version.getVersion() method requested
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=17862>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=17862
------- Additional Comments From ernst.dehaan@wanadoo.nl 2006-02-11 16:10 -------
Created an attachment (id=17656)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17656&action=view)
Patch that adds a public getVersion() method to LogManager
This patch adds a public class method named "getVersion" to class LogManager.
The method takes no arguments.
The implementation of the method just returns a text string "1.2.14". This text
will need to be updated with each release.
An alternative implementation would allow the text string to be adjusted
automatically (with the <replace> task). However, this would require some work
to the build.xml file. A disadvantage is, that the code under src/java is then
no longer an exactly the code that is compiled. Since updating this single text
string is extremely simple, I personally prefer this approach.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org