[jboss-dev] Determining JBoss AS server version by examining install
Tim Fox
tim.fox at jboss.com
Mon May 14 15:25:47 EDT 2007
I want to be able to determine the version by examining the directory
(i.e. not programmatically)
Ales Justin wrote:
> See how it is done in AS:
>
> org.jboss.system.server.profileservice.ServerImpl
>
> /** Package information for org.jboss */
> private final Package jbossPackage = Package.getPackage("org.jboss");
>
> log.info("Release ID: " +
> jbossPackage.getImplementationTitle() + " " +
> jbossPackage.getImplementationVersion());
>
> If this helps.
>
> Rgds, Ales
More information about the jboss-development
mailing list