title: ant - if doesn't support the "name" attribute
body: <p>i have a requirement that as follows.
  I have a .properties file (with name=value pair) from which i am reading couple of properties.
  i want to check a particular property exist or not.
  i am getting the error with <code>if doesn't support the "name" attribute</code> for the following code.
  where JavaProjectName,projDir are the names getting from the .properties file.</p>
  
  <pre><code>&lt;if name="${JavaProjectName}" exists="true"&gt;
  &lt;property name="importJavaProject" value="${projDir}/${JavaProjectName}"/&gt;
  &lt;/if&gt;
  </code></pre>
  
  <p>can you please tell me where am i doing wrong.</p>