posted 20 years ago
I currently have the following IF statement:
<if>
<equals arg1="${property.env.name}" arg2="PROD" />
<then>
<antcall target="FTPPRODFiles"/>
</then>
</if>
I now want to check another set of parameters in addition to the existing one:
<equals arg1="${property.app.name}" arg2="ScriptEngine" />
OR
<equals arg1="${property.app.name}" arg2="ScriptProfiler" />
So the bottom line is I need it to be either:
<equals arg1="${property.env.name}" arg2="PROD" /> AND <equals arg1="${property.app.name}" arg2="ScriptEngine" />
OR
<equals arg1="${property.env.name}" arg2="PROD" /> AND <equals arg1="${property.app.name}" arg2="ScriptProfiler" />
What is the best way to check for this logic?
Thanks,
Lisa