In the following example, 'Hi Phil' will only be printed out if you have a property myname
present
<target name = "ifproperty" description="If property test"> <ifproperty property = "myname"> <echo>Hi Phil</echo> </ifproperty> </target>
In the following example, 'Hi Phil' will only be printed out if you have a property myname
with a value of 'phil'
<target name = "ifproperty" description="If property test"> <ifproperty property = "myname" equals = "phil"> <echo>Hi Phil</echo> </ifproperty> </target>@author Phil Zoio
|
|
|
|