Re: java and packages in eclipse?
Hi, I think I understand your problem. It is the nature of how Eclipse interprets packages. rather than having to open each package like it is a folder, it gives you all of your packages in a list. So, your package tree view, the first list is your list of projects, then you expand that and it shows your list of top level folders such as src, if you are using maven src.main.java, etc... inside your code folder it will list all of your packages in a list, you will not need to expand multiple times from here, you just have to find the write package in the list, and expand it to see your code files. If there is any question, just open up your project in file explorer. I think the reason why eclipse does this is because when you start using tools like maven, and using standard java naming conventions for your packages, you tend to get several packages deep before you get to any code. It is very annoying to deal with in file explorer. for example, the standard naming convention for your packages in industry is something like
com.business.project.package_names_for_project
so there is an aditional three layers of folders that have nothing in them but the next folder. On top of the maven folder structure, it is painful to drill down into your code in file explorer.
I hope this answers your question, you should probably be fine, just take a look at how the folders are structured in file explorer, if they look right then don't worry about it. Eclipse is mirroring the folder structure in file explorer, it just is showing it in a bit different way.
Timothy Breitenfeldt
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector