You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org> on 2011/10/07 17:27:30 UTC
[jira] [Commented] (LANG-759) Add Support in SystemUtils for
Windows Server 2003 and Windows Server 2008
[ https://issues.apache.org/jira/browse/LANG-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122867#comment-13122867 ]
Gary D. Gregory commented on LANG-759:
--------------------------------------
Patches welcome! :)
> Add Support in SystemUtils for Windows Server 2003 and Windows Server 2008
> --------------------------------------------------------------------------
>
> Key: LANG-759
> URL: https://issues.apache.org/jira/browse/LANG-759
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Reporter: Dominik Stadler
> Priority: Critical
>
> SystemUtils currently only knows about the "consumer" versions of Windows, however there are also the Server-Variants, which can be detected separatedely. E.g. in my case I would like to detect a Windows Server 2003 instance, but cannot, as it is not detected by any of the existing IS_OS_WINDOWS_xxx variants.
> I extracted the following values that can be used to detect these versions:
> * Windows Server 2003 R2: os.name=Windows 2003, os.version=5.2
> * Windows Server 2008 R2: os.name=Windows Server 2008 R2, os.version=6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira