Package net.sf.antcontrib.platform
Class OsFamily
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- net.sf.antcontrib.platform.OsFamily
-
- All Implemented Interfaces:
java.lang.Cloneable
public class OsFamily extends org.apache.tools.ant.Task
Task definition for theOsFamily
task. This task sets the property indicated in the "property" attribute with the string representing the operating system family. Possible values include "unix", "dos", "mac" and "windows".Task Declaration:
<taskdef name="osfamily" classname="net.sf.antcontrib.platform.OsFamily" />
Usage:<osfamily property="propname" />
Attributes: property --> The name of the property to set with the OS family name- Author:
- Matthew Inger
-
-
Constructor Summary
Constructors Constructor Description OsFamily()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
void
setProperty(java.lang.String property)
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-