title: Unable to update dependencies with ant
body: <p>I'm really a beginner with ant, anyway I'm working with a java project built with ant.</p>
  
  <p>There're, simplifying, two projects imported in Eclipse:</p>
  
  <ul>
  <li>The <code>project1</code> contains the <code>class1</code> with the <code>methods1</code>, <code>methods2</code> and <code>methods3</code>.</li>
  <li>In <code>project2</code> there's a <code>class2</code> that call the <code>class1.method3()</code>.</li>
  </ul>
  
  <p>The <code>ivy.xml</code> on <code>project2</code> contains:</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency org="my.package"
                  name="project1"
                  rev="latest.${project.version.status}"
                  conf="default"&gt; 
         &lt;exclude module="servlet-api"/&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>The issue is: </p>
  
  <blockquote>
    <p>The method method3() is undefined for the type class1
    (line 53 class2.java)</p>
  </blockquote>
  
  <p>I've tried several combinations, my "favourite" is:</p>
  
  <ol>
  <li>With terminal in <code>project1</code> folder:
  
  <ul>
  <li><code>ant clean-lib lib</code></li>
  <li><code>ant publish-local</code></li>
  </ul></li>
  <li>And in <code>project2</code> folder:
  
  <ul>
  <li><code>ant clean-lib lib</code></li>
  </ul></li>
  <li>Refresh, clean and build all projects in Eclipse</li>
  </ol>
  
  <p>But it doesn't works, so... how can I update the <code>project1.jar</code> referred by <code>project2</code>? What am I doing wrong?</p>
  
  <p>Thanks</p>