This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
What is Eclipse's Project References Property Page used for? This prop page is shown when viewing the project properties.
I've searched via Google, the Eclipse help docs, and this forum trying to find out how this prop page is useful, but I still don't understand why it exists. Here's what I know so far:
1) If I go to the Project Reference prop page and checkmark a Java project that's listed on this prop page, then an entry is placed into the .project file. Why is this useful? I don't know.
2) Even if I go to the Project Reference prop page and checkmark a Java project that's listed on this prop page, then I still get compiler errors when I try to import a class from a dependent project.
Eg, if projB attempts to import a class from projA, then I get compiler errors even if I go to projB's Project Reference prop page and checkmark "projA". To resolve the compiler errors, I actually need to add projA to projB's build path. Which again leaves me wondering... what is the Project References prop page useful for? And when I do add projA to projB's build path, then (strangely enough) projB's Project Ref prop page shows that projB remains unchecked. Shouldn't an explicit build path dependency on a project count as a project reference, and so automatically checkmark the dependency, projA?
3) If I go to the Project Properties page of a generic, non-Java project, then naturally I don't see the Java Build Path prop page... But the Project References prop page is still there... Could this mean that this prop page is intended only for generic, non-Java projects? If so, then again.. for what reason?
4) I've seen the Project References prop page in the context of web apps in some places, but the reasons for mentioning/using it weren't clear.
Very confused. Seeking clarification, please. I would greatly appreciate any help.