<condition property="sdk-folder"
value="E:androidandroid-sdkadt-bundle-windows-x86_64-20130219sdk"
else="${env.ANDROID_SDK_HOME}" >
<or>
<equals arg1="${env.ANDROID_SDK_HOME}" arg2=""/>
<not>
<isset property="env.ANDROID_SDK_HOME"/>
</not>
</or>
</condition>
上述文本的逻辑就是
if(env.ANDROID_SDK_HOME==NULL || env.ANDROID_SDK_HOME == "")
{
sdk-folder = "E:androidandroid-sdkadt-bundle-windows-x86_64-20130219sdk";
}else
{
sdk-folder = env.ANDROID_SDK_HOME
}