[jira] [Commented] (LANG-695) SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
[ https://issues.apache.org/jira/browse/LANG-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13028812#comment-13028812 ] Oliver commented on LANG-695: - The case sensitive values of {{os.name}} for BSD--Unix variants are: FreeBSD OpenBSD NetBSD For the {{IS_BSD}} case I'd say Mac OS X should be treated as a BSD--Unix as well, because {{IS_UNIX}} returns {{true}} for Mac OS X, too. And by the way Mac OS X *is* actually FreeBSD, But don't tell Mac addicts ;) {quote} Given we have OS X, do we add the various BSDs. {quote} I'd say no, because this is imho confusing. But if we have {{IS_LINUX}} and {{IS_BSD}} , we should also provide something like {{IS_SYS_V}} for SunOS and Solaris. (?) SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system - Key: LANG-695 URL: https://issues.apache.org/jira/browse/LANG-695 Project: Commons Lang Issue Type: Improvement Components: lang.* Affects Versions: 2.6 Environment: FreeBSD 7-STABLE Reporter: Oliver Priority: Minor Fix For: 3.x FreeBSD isn't recognized as Unix system in SystemUtils.IS_OS_UNIX; There should be something like SystemUtils.IS_OS_FREEBSD, also. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (LANG-695) SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
[ https://issues.apache.org/jira/browse/LANG-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13027554#comment-13027554 ] Henri Yandell commented on LANG-695: Absolutely - any help you could offer there to identify the correct text would be good as it's been a long time since I installed a BSD. It takes us more into the various OS arguments. Do we have an IS_BSD and make all three fit that (as with our IS_LINUX). Do we then treat OS X as a BSD as well. Given we have OS X, do we add the various BSDs. To start with it's probably best to identify the os.name property for each of the three BSDs. SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system - Key: LANG-695 URL: https://issues.apache.org/jira/browse/LANG-695 Project: Commons Lang Issue Type: Improvement Components: lang.* Affects Versions: 2.6 Environment: FreeBSD 7-STABLE Reporter: Oliver Priority: Minor Fix For: 3.x FreeBSD isn't recognized as Unix system in SystemUtils.IS_OS_UNIX; There should be something like SystemUtils.IS_OS_FREEBSD, also. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (LANG-695) SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
[ https://issues.apache.org/jira/browse/LANG-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13027312#comment-13027312 ] Oliver commented on LANG-695: - Hi Henri! Thanks for the comment. If it's delayed for post 3.0 anyway consider the other free BSD Unix variants: OpenBSD NetBSD SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system - Key: LANG-695 URL: https://issues.apache.org/jira/browse/LANG-695 Project: Commons Lang Issue Type: Improvement Components: lang.* Affects Versions: 2.6 Environment: FreeBSD 7-STABLE Reporter: Oliver Priority: Minor Fix For: 3.x FreeBSD isn't recognized as Unix system in SystemUtils.IS_OS_UNIX; There should be something like SystemUtils.IS_OS_FREEBSD, also. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (LANG-695) SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
[ https://issues.apache.org/jira/browse/LANG-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13022775#comment-13022775 ] Oliver commented on LANG-695: - *Workaround:* {code} FreeBSD.equalsIgnoreCase(SystemUtils.OS_NAME) {code} SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system - Key: LANG-695 URL: https://issues.apache.org/jira/browse/LANG-695 Project: Commons Lang Issue Type: Improvement Components: lang.* Affects Versions: 2.6 Environment: FreeBSD 7-STABLE Reporter: Oliver Priority: Minor FreeBSD isn't regognized as Unix system in SystemUtils.IS_OS_UNIX; There should be something like SystemUtils.IS_OS_FREEBSD, also. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira