This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 63828 - GlobalPathRegistry.getSourceRoots() returns roots from unopened projects
Summary: GlobalPathRegistry.getSourceRoots() returns roots from unopened projects
Status: CLOSED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 20:50 UTC by _ tball
Modified: 2005-12-12 14:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tball 2005-09-07 20:50:47 UTC
When a 5.0 module project is open,
GlobalPathRegistry.getDefault().getSourceRoots() returns its source roots and
those of all of its dependent projects.  Shouldn't it only return the source
roots of open projects, and included the dependent but unopened projects in
GlobalPathRegistry.getDefault().getPaths(ClassPath.COMPILE)?
Comment 1 Jesse Glick 2005-09-07 22:13:32 UTC
No. Read the Javadoc.
Comment 2 Tomas Danek 2005-12-12 14:30:54 UTC
closing.