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 48230 - Support Ant property substitutions in file path passed to <property-file>
Summary: Support Ant property substitutions in file path passed to <property-file>
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 42682
  Show dependency tree
 
Reported: 2004-08-31 13:10 UTC by Jesse Glick
Modified: 2006-03-24 10:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-08-31 13:10:07 UTC
Currently gives an error if you try to use e.g.

<property-file>${something}/whatever.properties</>

Should not. Easy enough to make it eval
${something}; harder to make it listen to changes
in ${something}'s value and reread the properties
file accordingly.
Comment 1 Jesse Glick 2004-09-15 21:34:29 UTC
Have patch which not only handles substs in the file path, but if the
file path changes due to a change in some earlier property definition
or property file, reads the newly named file instead.
Comment 2 Jesse Glick 2004-09-16 03:29:27 UTC
committed   * Up-To-Date  1.10       
ant/freeform/eg/simple/nbproject/project.xml
committed   * Up-To-Date  1.3        
ant/freeform/src/org/netbeans/modules/ant/freeform/FreeformEvaluator.java
committed   * Up-To-Date  1.2        
ant/freeform/test/unit/src/org/netbeans/modules/ant/freeform/FreeformEvaluatorTest.java
Comment 3 Jaromir Uhrik 2005-07-14 16:19:30 UTC
Verified.