After copying my GIT
repo from a PC computer onto my MAC, i can't seem to import it to an eclipse. Import happens via eGit plugin directly from existing local git repository.
Same exact import works perfectly fine on existing Windows computer.
Please advise.
org.eclipse.core.internal.resources.ResourceException: Invalid project description. at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:162) at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:52) at org.eclipse.core.internal.resources.Project.create(Project.java:274) at org.eclipse.core.internal.resources.Project.create(Project.java:256) at org.eclipse.egit.ui.internal.clone.ProjectUtils.createExistingProject(ProjectUtils.java:115) at org.eclipse.egit.ui.internal.clone.ProjectUtils.access$0(ProjectUtils.java:92) at org.eclipse.egit.ui.internal.clone.ProjectUtils$1.run(ProjectUtils.java:66) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957) at org.eclipse.egit.ui.internal.clone.ProjectUtils.createProjects(ProjectUtils.java:84) at org.eclipse.egit.ui.internal.clone.GitImportWizard.importProjects(GitImportWizard.java:160) at org.eclipse.egit.ui.internal.clone.GitImportWizard.access$0(GitImportWizard.java:142) at org.eclipse.egit.ui.internal.clone.GitImportWizard$1.run(GitImportWizard.java:83) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Contains: OK Contains: /Users/me/Repositories/ABC overlaps the location of another project: 'ABC'
"Invalid project description" error occurs during attempts to create a new project in a certain location. The message usually appears when the default workspace location is changed. Creating a project in the same directory twice will cause the error when the directory is other than the default workspace.
Open Eclipse and choose Import –> Projects from Git (with smart import) Choose the Clone URI option in the Git import wizard and click Next. Confirm the URI, Host and Repository path parameters and click Next. Choose the Git branches to clone from the remote repository and click Next.
"Contains: /Users/me/Repositories/ABC overlaps the location of another project: 'ABC'"
Looks like you already have a project in your workspace with the same name like the project you would like to import.
Following is worked for me.
Copy/put your project outside of workspace [e.g : E:\yourproject ], then Go to
1. File-->Import-->General-->Existing Projects into Workspace
2. Browse your project
3. Select Checkbox "Copy projects into workspace" and press Finish.
It will make copy of project into workspace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With