0

I cloned a Java project to my local repo. When importing the project to Eclipse it gives me an error saying that No projects are found to import. Am using a Mac and the Eclipse package I am using is Kepler 64bit version.

greg-449
  • 109,219
  • 232
  • 102
  • 145
andy
  • 1,947
  • 5
  • 27
  • 46
  • 2
    If you don't have the .project, you don't have an Eclipse project. You just have sources. Nothing prevents you from recreating the project though. – JB Nizet Feb 14 '14 at 08:08
  • It sounds like your `clone` may have left out the files starting with `.` try and get the clone to include these. – greg-449 Feb 14 '14 at 08:15
  • 1
    How is this project built? Maven and Gradle both provide support to generate an eclipse project (if configured to do so). – Henry Feb 14 '14 at 08:23

1 Answers1

0

If you are not able to import old project. Try.. Create new project, copy source files to new project, use .classpath file of old project to add required jars as you would be working on different machine else copy same .classpth file

e.g. for classpath entry <classpathentry kind="lib" path="D:/libs/junit/junit-4.11.jar"/> add junit-4.11.jar to the build path

tinkrr
  • 19
  • 3