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