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 128778 - Permit loggers to inspect Ant reference values
Summary: Permit loggers to inspect Ant reference values
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2008-02-29 01:45 UTC by Jesse Glick
Modified: 2008-03-06 15:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed patch (8.12 KB, patch)
2008-02-29 01:50 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 2008-02-29 01:45:57 UTC
AntLogger's can currently see what classpath is being used in this case:

<property name="my.cp" path="..."/>
<!-- ... -->
<javac ... classpath="${my.cp}" .../>

but not in this case:

<path id="my.cp" path="..."/>
<!-- ... -->
<javac ... classpathref="my.cp" .../>

A simple enhancement to AntEvent.getProperty would make it possible to obtain the runtime value of the reference in the
latter case as well.
Comment 1 Jesse Glick 2008-02-29 01:50:40 UTC
Created attachment 57500 [details]
Proposed patch
Comment 2 Jesse Glick 2008-03-06 15:00:53 UTC
#957d26bef86f