ant中的if与unlessless
if与unless之间是相反的条件表达svn
for example:ui
<condition property="isDirExist"> <and> <available file="example" type="dir" /> </and> </condition> <!--若是存在则不执行1--> <target name="1" unless="isDirExist"> <!--若是存在则执行2--> <target name="2" if="isDirExist">
ant 执行sln,选择project的配置项如"Debug|win32" url
<arg line="/build release" />spa