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 (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/07 22:24:30 UTC

[jira] [Resolved] (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:all-tabpanel ]

Gary D. Gregory resolved LANG-759.
----------------------------------

    Resolution: Fixed
      Assignee: Gary D. Gregory

In SVN @since 3.1.
                
> 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
>            Assignee: Gary D. Gregory
>            Priority: Critical
>         Attachments: LANG-759.patch
>
>
> 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