Reputation: 41
I have a folder which contains some previous projects. In the same folder I saved a new project, which messed everything up. So I created a new folder to put my projects in.
I found that the problem is that I moved folder locations that I needed to delete .location, which took an hour to find.
After all of this the problem is I can't find the project under
import > existing projects in workspace
Here is The error that sows up when I try to open minecraft folder
I have .project where it needs to be I just need to solve .location.
Edit:A aswer show up and solved the problem but now this is what pops up
Upvotes: 4
Views: 8145
Reputation: 3955
Simply delete your Minecraft project from eclipse workspace and create a new project with the existing directory as a base directory for this project. Below screenshots will show you the step by step process.
Step 1: Working project
Step 2: Getting error when closed the project and trying to reopen the project in the absence of .project file.
Step 3: Delete the project from repository (Do not delete the project from disk space)
Step 5: Create a new java project
Step 6: Provide the project name as "Minecraft" and provide the location of your source directory. Click on finish
You should see the project imported successfully.
Upvotes: 4
Reputation: 1
At the time of download you might have unzipped an Eclipse then you might have use it now delete the Eclipse but not workspace where you had a project now go to zipped Eclipse which you have downloaded then start Eclipse select previous workspace then it's good to go or else change workspace as well
Upvotes: -1