title: Building Android project with ant having a library project dependency on another library project
body: <p>I have maybe this not so common setup: </p>
  
  <p>(> = dependency)<br>
  Android project > Android library project 1 > Android library project 2<br>
  So I have an Android library project which has a dependency to another library project.</p>
  
  <p>When I'm building project in Eclipse everythings works fine but I cannot get my build working with Ant.</p>
  
  <p>First Ant compiles Android library project 2 which generates a classes.jar and puts this file in the bin folder.<br>
  Then Ant tries to compile the Android library project 1 but then I'm getting errors becouse it is missing classes from Android library project 2.</p>
  
  <p>Well this is not so weird becouse the jar file is not included in the libs folders.
  But in project.properties i've made a dependency to the library project 2 so why does Ant not copy the classes.jar to the libs folders of library project 1?</p>
  
  <p>Well I can think of a solution to use an Ant task to copy the file to the libs folder, but then I have to modify the build.xml which I do not prefer.</p>
  
  <p>** EDIT</p>
  
  <p>The problem is that the R class is missing, when I look in classes.jar this java file does not contain the R class. So my solution would proberly not work.</p>