title: ant property conditional on another property
body: <p>I would like to do the following in ant</p>
  
  <pre><code>if javac.version &gt;= 1.7
  then
    &lt;property name="myproperty" value="somevalue"/&gt;
  else
    &lt;property name="myproperty" value="someothervalue"/&gt;
  endif
  </code></pre>
  
  <p>Looks simple enough but not familiar enough with ant to do this</p>
  
  <p>Any assistance appreciated</p>