Bug 3235 - PackageFragmentRoot existency check need to be revisited (1GCUNO7)
Summary: PackageFragmentRoot existency check need to be revisited (1GCUNO7)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:51 EDT by Philipe Mulet CLA
Modified: 2019-05-21 14:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-10-10 22:51:45 EDT
The implementation of PackageFragmentRoot.exists() is checking whether the root is present on the classpath of the owner or in its output location.
This garanties proper working for SourceModel roots and Builder roots.

We probably want to revisit this so as to add new PackageFragmentRoots for denoting BuilderRoot with the output location check in them.
Question: should those roots be created relatively to the owner of the output location (as currently) or relatively to the client of the output 
location (referring project). The latter would look better.

NOTES:
Comment 1 DJ Houghton CLA 2001-10-23 23:52:24 EDT
PRODUCT VERSION:
SDK 48

Comment 2 Philipe Mulet CLA 2001-12-13 10:30:03 EST
Fixed to solve bug 6865.

Pkg root existency check resumed to a simple opening check, and the opening 
code is testing for presence on the classpath.
Comment 3 Eclipse Genie CLA 2019-05-21 14:36:50 EDT
New Gerrit change created: https://git.eclipse.org/r/142545