Reputation: 738
Please see the image above. Why is eclipse not showing packages in the 'flat' structure as opposed to the 'hierarchical' structure?
Upvotes: 1
Views: 3229
Reputation:
Make sure that your project of type Java or J2EE. As packages are related to Java specific projects only and not related to other types of projects, say C++, you won't see packages in flat structure if your project is not of type Java.
Upvotes: 2
Reputation: 738
I just realized what happened.
It is because the project is NOT a Java project. Since packages are specific to Java, Eclipse does not show the packages in the flat structure in this case.
Upvotes: 0