dev@glassfish.java.net

Re: need to log the version of glassfish

From: Carla Mott <Carla.Mott_at_Sun.COM>
Date: Sun, 27 Sep 2009 21:40:31 -0700

Thanks!

Jerome Dochez wrote:
> @Inject
> Version version;
>
> then a bunch of utility method on that service, I think you want
> getFullVersion()
>
> jerome
>
> On Sep 27, 2009, at 4:36 PM, Carla Mott wrote:
>
>>
>> Hi all,
>>
>> Is there a way to get the version of the release so that I can log
>> that information at system startup? Ideally the information that is
>> returned from 'asadmin version' and preferably I can get that
>> information in a performance friendly way.
>>
>>
>> user-64-9-234-15:bin cmott$ asadmin version
>> Version = GlassFish v3 (build cmott-private)
>> Command version executed successfully.
>>
>>
>> Thanks,
>> Carla
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>