title: Set Ant project name
body: <p>I am trying to change the ant.project.name property after the project declaration. I know this is not advisable but it's the only way I can fix a big problem with my project.
  I found some interesting posts like this one:</p>
  
  <p><a href="https://stackoverflow.com/questions/13572174/ant-how-to-set-ant-project-name-to-project-folder-name">Ant - How to set ${ant.project.name} to project folder name?</a></p>
  
  <p>Instead of using:</p>
  
  <pre><code>&lt;project basedir="." default="package"&gt;
      &lt;basename property="ant.project.name"
          file="${basedir}"/&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I'd like to directly set the ant.project.name using a "value" instead of a property "file".
  Do you have any ideas or suggestions? Or alternative ways?</p>
  
  <p>Thank you!</p>