https://bz.apache.org/bugzilla/show_bug.cgi?id=65437
Bug ID: 65437
Summary: Documentation on os family mac not correct
Product: Ant
Version: 1.10.10
Hardware: Other
OS: other
Status: NEW
Severity: minor
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The documentation on <os family="mac"/> states:
"mac"—for all Apple Macintosh systems prior to Mac OS X
But this doesn't seem to be the case as <os family="mac"/> will match on a
modern macOS also. I currently use the following to distinguish between Linux
and Mac:
<condition property="os.linux"><and><os family="unix"/><not><os
family="mac"/></not></and></condition>
<condition property="os.mac"><and><os family="unix"/><os
family="mac"/></and></condition>
And this is working fine.
--
You are receiving this mail because:
You are the assignee for the bug.