title: Extract eclipse project .classpath dependencies into ant script
body: <p>I have a list of Eclipse projects that I would like to compile based on the existing project configuration.</p>
  
  <p>As far as I can tell, if an ant script could read the .classpath files, it would pretty much be able to infer the project dependencies and perform a "javac" compilation in the right order. This would save time in describing the same dependencies again in the ant script or a Makefile.</p>
  
  <p>The dependencies I am interested in are JAR Dependencies, JRE dependencies, and inter-project dependencies. These are -- as far as I can tell -- part of the .classpath XML file.</p>
  
  <p>Any ideas on how Eclipse project dependencies could used in an ant script?</p>