Why I do not see all of the folders in Eclipse package Explorer that I see in File Explorer

659 Views Asked by At

I created a Maven modul in Eclipse, and there I have a folder called 'target'. That on I see in package explorer in Eclipse. If I open it there are several folder. If I open it in File Explorer on Windows I see even more folder, e.g. one of them called classes/META-INF/services/* which I created using annotations before some classes in the modul. Why I only see those in the Windows File Explorer and not in the Eclipse Package Explorer and how to change that?

1

There are 1 best solutions below

2
slim On

This is because you are looking in the "Project Explorer", which understands a project layout, and knows the difference between source files, generated files, project files, resource directories and so on. It doesn't necessarily present you the files in the same tree structure as the they appear in the filesystem.

If you want to see the the actual file layout, you need the "File explorer". Other views can be opened in the "Window -> Show View -> " menu.