DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 --- Additional Comments From [EMAIL PROTECTED] 2005-10-06 13:58 --- Created an attachment (id=16608) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16608action=view) patch for the StatusGenerator.java in order to show the contents of WEB-INF/lib patch for listing WEB-INF/lib directory contents, also added parameter lib in order to hide the output for security reasons -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 --- Additional Comments From [EMAIL PROTECTED] 2005-04-25 15:36 --- (In reply to comment #9) Should be enough to add a list to jars in WEB-INF/lib? Won't work for endorsed libs - which are not in WEB-INF/lib and will override those in WEB-INF/lib. I'd suggest adding some code to StatusGenerator to check some basic stuff as Xerces and Xalan version programmatically, using their's API or Constants class or somesuch. It should also handle situation when Xerces or Xalan is missing. Vadim -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 --- Additional Comments From [EMAIL PROTECTED] 2005-04-24 23:54 --- Should be enough to add a list to jars in WEB-INF/lib? -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 --- Additional Comments From [EMAIL PROTECTED] 2005-02-14 11:03 --- First of all, sorry, I overlooked that the Cocoon version had been added December 22nd. I was accidentally trying with the 2.1.6 release which did not yet have it in. But it's true, besides the Cocoon version (which is quite important and basic info if you look at a server from the outside) it would make sense to know the versions of libraries. I have mentioned Xerces and Xalan for their prominent role, but I still wonder if we could just use the Classloader to iterate all JAR files and expose version information from the Manifest (if it is in there). -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 --- Additional Comments From [EMAIL PROTECTED] 2005-02-14 17:38 --- In the case of the libraries it is harder. Not all jars have in MANIFEST.MF the version number. Also is important to note that the user can use saxon. The question here is if JAXP allow us to retrieve the name and version of the current Java XSLT Procesor. The same apply to Xerces. -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 --- Additional Comments From [EMAIL PROTECTED] 2005-02-13 19:48 --- I have done some experiments myself, but I am not yet sure about the right approach. One attempts would be to just use the ${version} from build.properties and place it in StatusGenerator.java using @version@ and an Ant replace task. But this would probably require an additional step like copying all java source files to an intermediate directory, then patch them using the replace task and compile from there. I am not sure if this is feasible. Also of course it would be nice to not only have information on the Cocoon version as such but also on the Xerces and Xalan versions as they are often the source of trouble. It might be possible to access the information in the Manifest.mf. But this would require the information to be present there. In the Manifest of Cocoon for example, there is no version information at all. It might be possible to put it in, though. I did not yet check how other libs (jakarta-commons-* for example) treat this. I might also be on the wrong path with this. Maybe one of the Cocoon core developers could comment on this. -- 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.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 [EMAIL PROTECTED] changed: What|Removed |Added CC||dev@cocoon.apache.org --- Additional Comments From [EMAIL PROTECTED] 2005-02-13 20:02 --- org/apache/cocoon/cocoon.properties contains the full cocoon version number. It is exposed in Constants.java as VERSION , you should be ok just pulling it in from there. For Xalan i know there is a org.apache.xalan.Version.getVersion(), maybe Xerces has a similar method ? -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 --- Additional Comments From [EMAIL PROTECTED] 2005-02-13 22:29 --- You can simply use org.apache.cocoon.Constants.VERSION which is initialized a class loading time with the value in cocoon.properties -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2005-02-14 02:41 --- The requested code is already in the StatusGenerator. It is an attribute called cocoon-version. -- 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. You are on the CC list for the bug, or are watching someone who is.
DO NOT REPLY [Bug 33545] - [Enh] Make StatusGenerator show Cocoon version information
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=33545. 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=33545 [EMAIL PROTECTED] changed: What|Removed |Added Status|CLOSED |REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2005-02-14 02:50 --- Opss. Sorry. I thought the request was only for the cocoon-version. Reading further I found this bug also add request for new status values as versions of Xerces Xalan jakarta-commons-* -- 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. You are on the CC list for the bug, or are watching someone who is.