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

Summary: Permit loggers to inspect Ant reference values
Product: projects Reporter: Jesse Glick <jglick>
Component: AntAssignee: apireviews <apireviews>
Status: RESOLVED FIXED    
Severity: blocker Keywords: API, API_REVIEW_FAST
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposed patch

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