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 227363

Summary: Added a method to find out dependent source roots for for given source root.
Product: editor Reporter: Tomas Zezula <tzezula>
Component: Parsing & IndexingAssignee: apireviews <apireviews>
Status: RESOLVED FIXED    
Severity: normal CC: ralphbenjamin, tmysik
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 7.4   
Hardware: PC   
OS: Mac OS X   
Issue Type: TASK Exception Reporter:
Attachments: Diff file

Description Tomas Zezula 2013-03-12 14:46:30 UTC
Added a method QuerySupport.findDependentRoots returning the dependent source roots for given source root. It returns all the source roots which have either direct or transitive dependency on the given source root.
Comment 1 Tomas Zezula 2013-03-12 14:49:20 UTC
Created attachment 132519 [details]
Diff file
Comment 2 Ralph Ruijs 2013-03-13 10:01:38 UTC
Will this replace, and give the same results, as org.netbeans.api.java.source.SourceUtils#getDependentRoots(URL, boolean) ?
Comment 3 Tomas Zezula 2013-03-13 10:31:51 UTC
Yes, the SourceUtils.getDependentRoots just delegates to QuerySupport.
Comment 4 Tomas Zezula 2013-03-18 10:47:32 UTC
Fixed jet-main f22026e8237f
Comment 5 Quality Engineering 2013-03-20 02:08:45 UTC
Integrated into 'main-golden', will be available in build *201303192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f22026e8237f
User: Tomas Zezula <tzezula@netbeans.org>
Log: #227363:Added a method to find out dependent source roots for for given source root.