https://bz.apache.org/bugzilla/show_bug.cgi?id=61315
--- Comment #4 from Jan Mat <[email protected]> --- This works for with Ant-1.9.6 and Ant-1.10.1 <project xmlns:antcontrib="antlib:net.sf.antcontrib"> <echo>using built in condition</echo> <echo>------------------------</echo> <condition property="schema" value="exists"> <isset property="RMOBINTERMEDIUM.UserName"/> </condition> <property name="schema" value="doesn't exist"/> <echo>schema: ${schema}</echo> <echo/> <echo>using ant-contrib::if</echo> <echo>---------------------</echo> <mkdir dir="tmp"/> <get src="http://search.maven.org/remotecontent?filepath=ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar" dest="tmp" > <flattenmapper/> </get> <taskdef uri="antlib:net.sf.antcontrib" resource="net/sf/antcontrib/antlib.xml" classpath="tmp/ant-contrib-1.0b3.jar"/> <antcontrib:if> <isset property="RMOBINTERMEDIUM.UserName"/> <antcontrib:then> <echo message="schema exists"/> </antcontrib:then> <antcontrib:else> <echo message="schema does not exists"/> </antcontrib:else> </antcontrib:if> </project> -- You are receiving this mail because: You are the assignee for the bug.
