Determines if the OS on which Ant is executing matches the type of
that set in setFamily.
true if the os matches. throws: BuildException - if there is an error. See Also:Os.setFamily(String)
Determines if the OS on which Ant is executing matches the
given OS architecture.
Parameters: arch - the OS architecture to check for true if the OS matches since: 1.7
isFamily
public static boolean isFamily(String family)(Code)
Determines if the OS on which Ant is executing matches the
given OS family.
Parameters: family - the family to check for true if the OS matches since: 1.5
Determines if the OS on which Ant is executing matches the
given OS name.
Parameters: name - the OS name to check for true if the OS matches since: 1.7
Determines if the OS on which Ant is executing matches the
given OS family, name, architecture and version
Parameters: family - The OS family Parameters: name - The OS name Parameters: arch - The OS architecture Parameters: version - The OS version true if the OS matches since: 1.7
isVersion
public static boolean isVersion(String version)(Code)
Determines if the OS on which Ant is executing matches the
given OS version.
Parameters: version - the OS version to check for true if the OS matches since: 1.7