Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D5D273DA for ; Sat, 8 Oct 2011 06:03:55 +0000 (UTC) Received: (qmail 75215 invoked by uid 500); 8 Oct 2011 06:03:54 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 74930 invoked by uid 500); 8 Oct 2011 06:03:54 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 74922 invoked by uid 99); 8 Oct 2011 06:03:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2011 06:03:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2011 06:03:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DAB192AF59B for ; Sat, 8 Oct 2011 06:03:29 +0000 (UTC) Date: Sat, 8 Oct 2011 06:03:29 +0000 (UTC) From: "Dominik Stadler (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <1470534049.11035.1318053809897.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1006502756.8246.1318000889705.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LANG-759) Add Support in SystemUtils for Windows Server 2003 and Windows Server 2008 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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