|
Re: What is the "Preject References" for? [message #509911 is a reply to message #509898] |
Mon, 25 January 2010 18:37 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
It is for non-JDT project references. In the past (an early Eclipse) if
you checked a project in the Java Build path it would under the covers
also physically set the project references. But this was fragile because
it could be accidentally removed and the java build would fail. So there
are now dynamic project references functions which JDT hooked into.
So for just about any normal reason there is no need to change this
property yourself. It would only be if you had some kind of builder that
you wrote that didn't use the dynamic hook but required that project
references need to be built first, or if the referenced project was
changed then this project needs to be build. But it would be better to
write your builder to use the dynamic hook.
Raymond wrote:
> Hey,
>
> What exactly is the "Project References" for in the project properties?
> If I set project A required project B in the "Java Build Path" -->
> "Project" of project A, when I called IProject.getReferencedProjects()
> on project A, it returned project B to me. However, when I open the
> "Project References" UI, project B was not checked.
> Thanks.
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.03288 seconds