Ant else condition execution
<p>I am trying to print some message in Ant depending on some condition as follow:</p>

<pre><code>&lt;if&gt;
    &lt;equals arg1="${docs.present}" arg2="true"/&gt;
    &lt;then&gt;
    &lt;/then&gt;
    &lt;else&gt;
        &lt;echo message="No docss found!"/&gt;
    &lt;/else&gt;
&lt;/if&gt;
</code></pre>

<p>But as you see, if docs.present property is set to 'true' then only I want to execute only else part. There is nothing to execute in if part. How can I achieve this?</p>