> https://glassfish.dev.java.net/nonav/javaee5/api/s1as-javadocs/com/sun/appserv/server/util/Version.html
>
>
>
Thanks Ludo, for the link.
> but...
>> This class exposes various methods to get things like: full-version
>> (which asadmin displays), major version, minor version, build id etc.
>> I think you should rely on it.
>
> I remember that you need more than appserv-ext.jar jar in your
> classpath for EE detection, making this api not really stable as the
> output varies based on you class path...
Not any more ... We are changing the version string as follows:
"Sun Java System Application Server 9.1 b-xxx"
In other words, no consideration of the "Edition".
(Don't quote me on it, but it is true ;) )
This is of course true for *GlassFish distribution* as of now.
Thanks,
Kedar
>
> Unless I am wrong?
> Ludo
>>
>> Regards,
>> Kedar
>>
>> Cathy Mucci wrote:
>>>
>>> We are looking for ways to programatically determine the version of
>>> AppServer installed on various platforms/servers.
>>>
>>> Is the the output returned from the asadmin version command is
>>> parsable?
>>> Is it localized text? In other words, is there an option to guarantee
>>> the output text that can be parsed by a script and work in any locale?
>>>
>>> Your feedback is appreciated.
>>>
>>> Thank you,
>>> Cathy Mucci
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>