You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dominik Stadler (Created) (JIRA)" <ji...@apache.org> on 2011/10/07 17:21:29 UTC
[jira] [Created] (LANG-759) Add Support in SystemUtils for Windows
Server 2003 and Windows Server 2008
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
[jira] [Updated] (LANG-759) Add Support in SystemUtils for Windows
Server 2003 and Windows Server 2008
Posted by "Dominik Stadler (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Stadler updated LANG-759:
---------------------------------
Attachment: LANG-759.patch
Here you are, I did not find a way to enhance the unit test to really cover these...
> 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
> 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
[jira] [Resolved] (LANG-759) Add Support in SystemUtils for Windows
Server 2003 and Windows Server 2008
Posted by "Gary D. Gregory (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (LANG-759) Add Support in SystemUtils for
Windows Server 2003 and Windows Server 2008
Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (LANG-759) Add Support in SystemUtils for
Windows Server 2003 and Windows Server 2008
Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123148#comment-13123148 ]
Gary D. Gregory commented on LANG-759:
--------------------------------------
The patch did not apply to trunk so I re coded it and marked @since 3.1 based on recent ML discussion.
> 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
> 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
[jira] [Commented] (LANG-759) Add Support in SystemUtils for
Windows Server 2003 and Windows Server 2008
Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123784#comment-13123784 ]
Gary D. Gregory commented on LANG-759:
--------------------------------------
I can't quite recall why it did not apply.
> 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
[jira] [Commented] (LANG-759) Add Support in SystemUtils for
Windows Server 2003 and Windows Server 2008
Posted by "Dominik Stadler (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123392#comment-13123392 ]
Dominik Stadler commented on LANG-759:
--------------------------------------
Thanks for the quick response, I did this on a fresh svn checkout of trunk, so strange that it did not apply cleanly, was it because of newlines?
> 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