title: ANT war task fails with strange error message
body: <p>I am trying to create a war file out of an eclipse project using ant
  The responsible ant target looks like this</p>
  
  <pre><code>&lt;target name="jar" depends="build" description="Erzeugt das WAR File"&gt;
      &lt;war destfile="${project.dir.dist}/xyz.jar" webxml="${basedir}/WebRoot/WEB-INF/web.xml" duplicate="fail" basedir="${basedir}"&gt;
          &lt;lib dir="${project.dir.dist}" excludesfile="${project.dir.dist}/xyz.jar" /&gt;
          &lt;classes dir="${project.dir.bin}" /&gt;
          &lt;webinf dir="${basedir}/WebRoot/WEB-INF" excludes="*.class" /&gt;
          &lt;metainf dir="${basedir}/WebRoot/META-INF" /&gt;
      &lt;/war&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>And it fails with the following error:
  F:\eclipse_workspaces\skyeye\railWeb\build.xml:35: Syntax error in property: ??? ???i8?
  
  <p>Google search turned up only this: <a href="http://209.85.135.132/search?q=cache:OrmNOY9EJd0J:teamcity.jetbrains.com/viewLog.html%3Bjsessionid%3D114D52086BAE423B2F69A99B4CFACACD%3FbuildId%3D29573%26tab%3DbuildChangesDiv%26buildTypeId%3Dbt134+ant+war+task+%22Syntax+error+in+property%22&amp;cd=1&amp;hl=en&amp;ct=clnk&amp;client=firefox-a" rel="nofollow noreferrer">http://209.85.135.132/search?q=cache:OrmNOY9EJd0J:teamcity.jetbrains.com/viewLog.html%3Bjsessionid%3D114D52086BAE423B2F69A99B4CFACACD%3FbuildId%3D29573%26tab%3DbuildChangesDiv%26buildTypeId%3Dbt134+ant+war+task+%22Syntax+error+in+property%22&amp;cd=1&amp;hl=en&amp;ct=clnk&amp;client=firefox-a</a></p>
  
  <p>Can anybody explain, what the heck is going on?</p>