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 - Added a method to find out dependent source roots for for given source root.
Summary: Added a method to find out dependent source roots for for given source root.
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2013-03-12 14:46 UTC by Tomas Zezula
Modified: 2013-03-20 02:08 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Diff file (48.50 KB, patch)
2013-03-12 14:49 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.