geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <>
Subject Re: Getting Geronimo version on the command line
Date Mon, 03 Jan 2005 18:19:39 GMT
Well, the plan was to move ServerInfo to Kernel module, but I never got 
to it.  We were also going to make ServerInfo a magic attribute since 
it is used everywhere.


Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26

On Jan 2, 2005, at 3:24 PM, Jacek Laskowski wrote:

> Hi,
> I've come across a file that I didn't know what it is for - 
> kernel/src/java/org/apache/geronimo/kernel/Version. It looks like it 
> was meant to provide information about the Kernel version. The module 
> - kernel - depends on two geronimo-specs. There's also  the GBean - 
> system/src/java/org/apache/geronimo/system/serverinfo/ServerInfo that 
> provides the information. It relies on the ServerConstants class of 
> the same package. During the build (see maven.xml of the system 
> module) the file - 
> org/apache/geronimo/system/serverinfo/ - is 
> created and populated with a necessary data. The file is then read by 
> ServerConstants.
> I think kernel module should provide information about itself. Unless 
> I'm mistaken it's decided to minimize the dependencies of kernel as 
> much as possible, thus the two spec deps.
> Should Version be implemented similarly to ServerConstants and 
> ServerConstants be removed? SystemInfo could then read the version 
> information from Kernel module.
> We should also create the main method of Version to let people find 
> out what Kernel (and Geronimo in general) they work with.
> Suggestions?
> Jacek

View raw message