title: How do you compare strings in Ant?
body: <p>In ant 1.6x the condition is never true despite app.get.method=download, why doesnt this work?</p>
  
  <pre><code> &lt;target name="-get-method"&gt;
      &lt;condition property="do.download"&gt;
          &lt;equals arg1="${app.get.method}" arg2="download" /&gt;
      &lt;/condition&gt;  
      &lt;echo message="${do.download}" /&gt;
    &lt;/target&gt; 
  </code></pre>