Reputation: 5087
I've been trying to import a project that works on a friend's computer, however no matter what I try, the package hierarchy is completely lost and the result is this
Has anyone seen this issue before? I've been struggling with it for a while. Occasionally creating a new project and copying in the src folder works, but I've been unsuccesfful in my recent attempts.
Upvotes: 0
Views: 1130
Reputation: 5087
Turns out we weren't including the .classpath file in the source control. Facepalm. Good answers, though.
Upvotes: 1
Reputation: 2736
The presentation of packages is a user option. Click the little down-arrow at the top of the package panel, then select "Package Presentation" from flat to hierarchical.
Upvotes: 1
Reputation: 2020
It could also be that the folders are not listed in the project as Source Folders. Go to the project properties and check that the root folders (looks like "data" and "src" here) are listed as source folders in the Build Path.
Upvotes: 0