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
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
Depends on:
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:

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 (upload may still be in progress)
User: Jesse Glick <>
Log: #207192: TargetLister.Target.getOriginatingScript.