diff --git a/src/main/org/apache/tools/ant/taskdefs/condition/Os.java b/src/main/org/apache/tools/ant/taskdefs/condition/Os.java index 616d5790a..f8feeb16e 100644 --- a/src/main/org/apache/tools/ant/taskdefs/condition/Os.java +++ b/src/main/org/apache/tools/ant/taskdefs/condition/Os.java @@ -65,8 +65,24 @@ import org.apache.tools.ant.BuildException; public class Os implements Condition { private String family; + /** + * Sets the desired OS family type + * + * @param f The OS family type desired
+ * Possible values:
+ * + */ public void setFamily(String f) {family = f.toLowerCase();} + /** + * Determines if the OS on which Ant is executing matches the type of + * that set in setFamily. + * @see Os#setFamily(String) + */ public boolean eval() throws BuildException { String osName = System.getProperty("os.name").toLowerCase(); String pathSep = System.getProperty("path.separator");