Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Old project not visible in Eclipse  RSS feed

 
rahul adams
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

Last year I started doing some problems from the book, "Introduction to Java Programming" by Daniel Liang. I created new Java project in Eclipse and inside it, I created a new package for every Chapter and finished till Chapter 6. Later, I didn't get time so could not continue.  For all the problems in a given chapter, I created separate Java file in the respective package.
Now I have a directory called c:\bookproblems and inside this I other directories ".metadata", "bin", "src", and two files ".classpath" and ".project". Last year I had uninstalled Eclipse and last month I again installed it back. But when I choose the workspace to be the directory, c:\bookproblems , it does not show my project . Its just empty. How can this be rectified so that I see my old project and all the packages inside it.

Thanks
Rahul
 
Knute Snortum
Sheriff
Posts: 4073
112
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to start by clicking New Java Project.  This is counterintuitive, I know.  Then you must type the name of the project to exactly match the old project name, which is the folder name.  If you don't have the same workspace, you can clear the checkbox that say Use Default Workspace.  When the new project wizard sees that you are creating a project exactly like an existing one, it will use the project on the disk.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!