title: Using Ant, is it possible to use AND, OR condition in tag IF?
body: <p>contrib It's possible to check more condition in tag IF?
  <br>I need to do something like this :</p>
  
  <pre><code>&lt;if&gt;
  &lt;equals arg1="${var}" arg2="one"/&gt;
  &lt;or&gt;
      &lt;equals arg1="${var}" arg2="two"/&gt;
  &lt;/or&gt;
  &lt;or&gt;
      &lt;equals arg1="${var}" arg2="three"/&gt;
  &lt;/or&gt;
  &lt;or&gt;
      &lt;equals arg1="${var}" arg2="four"/&gt;
  &lt;/or&gt;
  &lt;then&gt;
      &lt;echo message="basic dir: ${var}"/&gt;
      &lt;copy todir="../direct" verbose="yes" failonerror="no" overwrite="yes"&gt;
          &lt;fileset dir="${var}"&gt;
              &lt;include name="**"/&gt;
          &lt;/fileset&gt;
      &lt;/copy&gt;
  &lt;/then&gt;&lt;/if&gt;
  </code></pre>
  
  <p>How to do many conditions in one IF?</p>
  
  <p><strong>UPDATE:</strong> solve:</p>
  
  <pre><code>&lt;if&gt;
  &lt;or&gt;
      &lt;equals arg1="${var}" arg2="one"/&gt;    
      &lt;equals arg1="${var}" arg2="two"/&gt;
      &lt;equals arg1="${var}" arg2="three"/&gt;
      &lt;equals arg1="${var}" arg2="four"/&gt;
  &lt;/or&gt;
  &lt;then&gt;
      &lt;echo message="basic dir: ${var}"/&gt;
      &lt;copy todir="../direct" verbose="yes" failonerror="no" overwrite="yes"&gt;
          &lt;fileset dir="${var}"&gt;
              &lt;include name="**"/&gt;
          &lt;/fileset&gt;
      &lt;/copy&gt;
  &lt;/then&gt;&lt;/if&gt;
  </code></pre>