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 6BF8F91AD for ; Fri, 7 Oct 2011 20:24:52 +0000 (UTC) Received: (qmail 5238 invoked by uid 500); 7 Oct 2011 20:24:51 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 5137 invoked by uid 500); 7 Oct 2011 20:24:51 -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 4809 invoked by uid 99); 7 Oct 2011 20:24:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 20:24:51 +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; Fri, 07 Oct 2011 20:24:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 023992AEDB8 for ; Fri, 7 Oct 2011 20:24:30 +0000 (UTC) Date: Fri, 7 Oct 2011 20:24:30 +0000 (UTC) From: "Gary D. Gregory (Resolved) (JIRA)" To: issues@commons.apache.org Message-ID: <1412664994.9740.1318019070010.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1006502756.8246.1318000889705.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (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 [ 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