'Eclipse import from git not recognizing source folders
I wanted to share a Java project with another computer. I went on the first computer and created a GitHub repo out of it by clicking Team -> Share Project -> Create -> Finish. Then, I went to the other computer and clicked Import -> Projects from Git -> pasted in the GitHub link -> next, next, next. But when I opened the project, all the packages were like src.foo and src.bar. It didn't recognize the "src" folder was a source folder. Did I do one of these steps wrong?
Solution 1:[1]
My suggestion is:
- Create an empty folder in your workspace;
- In the Terminal, execute the command git clone ;
- In the Terminal, move to your project folder: cd folder-name;
- Open Eclipse;
- Import the project;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Iury Salino |
