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 207192 - TargetLister.Target.getOriginatingScript
Summary: TargetLister.Target.getOriginatingScript
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2012-01-11 22:12 UTC by Jesse Glick
Modified: 2012-01-25 16:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch (13.58 KB, patch)
2012-01-11 22:36 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-01-11 22:12:55 UTC
Target.getScript is useful for finding the script which actually defines a target. But in order to use Target as a kind of cookie for context-sensitive actions, it is desirable to also know the originating (importing) script, so that this script can be run.
Comment 1 Jesse Glick 2012-01-11 22:36:40 UTC
Created attachment 114813 [details]
Proposed patch
Comment 2 Jesse Glick 2012-01-11 22:37:11 UTC
Please review.
Comment 3 Jesse Glick 2012-01-18 14:31:55 UTC
core-main #85ae19a29ddc
Comment 4 Quality Engineering 2012-01-25 16:42:32 UTC
Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/85ae19a29ddc
User: Jesse Glick <jglick@netbeans.org>
Log: #207192: TargetLister.Target.getOriginatingScript.