title: Teamcity build counter not being passed into Ant
body: <p>I'm using Teamcity to build with an Ant runner.</p>
  
  <p>I'm trying to pass the current build counter into the "Additional Ant command line parameters" using the following</p>
  
  <pre><code>-lib %teamcity.build.checkoutDir%/MI/CustomAntTasks/jars/CustomAntTasks.jar -Dlabel={0}
  </code></pre>
  
  <p>The value <code>-Dlabel={0}</code> is being passed into the Ant script as the literal value {0} and not the current value of the build counter.</p>
  
  <p>Any ideas on how I can correctly pass through the build counter (not the build number)?</p>