title: How to configure/Run an Ant Java project in Eclipse
body: <p>I have a working java project (in ubuntu 12.04LTS, configured and compiled using ant). Is there a way I can configure and run it in Eclipse? Every time I try to load it in eclipse it gives a bunch of errors because of packages not being where its expecting I guess. Also, it will help if you could tell whats build path. I'm using Eclipse Java EE IDE Kepler Release.
  My project structure looks like this:</p>
  
  <pre><code>project
    build.xml
    build.properties
    build.common
    projFolder - proj code, 3rd party lib/bin/src, 
    commons - proj code, ui code, 3rd party lib and binaries
    dist - has a bunch of scripts and jars and may be some binaries
  </code></pre>
  
  <p>And how I got my project in Eclipse (this is probably not the most efficient way to have the project running  in Eclipse, not sure)
  I did new->java project then enter project name, unchecked 'use default location' and provided the location of my project so it imported my project in eclipse. then in my classes i have all the errors (red cross at the display) and it says imports cannot be resolved, objects can't be resolved to a type and such. </p>
  
  <p>import com.psid.codedata.projects.TProjectDRD;
  import com.psid.codedata.projects.TProjectsDRD;</p>
  
  <p>error on above imports:
  The import  cannot be resolved</p>