Bug 128778 - Permit loggers to inspect Ant reference values
Permit loggers to inspect Ant reference values
Status: RESOLVED FIXED
Product: projects
Classification: Unclassified
Component: Ant
6.x
All All
: P2 (vote)
: 6.x
Assigned To: apireviews
issues@projects
: API, API_REVIEW_FAST
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo