ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant RuntimeConfigurable.java
Date Sat, 28 Dec 2002 21:25:43 GMT
costin      2002/12/28 13:25:43

  Modified:    src/main/org/apache/tools/ant RuntimeConfigurable.java
  Log:
  Call project.replaceProperties(). Probably should call PropertyHelper directly,
  but Grant ( and others ) may extend project and override it.
  
  Revision  Changes    Path
  1.22      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java
  
  Index: RuntimeConfigurable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- RuntimeConfigurable.java	27 Dec 2002 18:11:15 -0000	1.21
  +++ RuntimeConfigurable.java	28 Dec 2002 21:25:43 -0000	1.22
  @@ -300,7 +300,7 @@
               String value=(String) attMap.get(name);
   
               // reflect these into the target
  -            value = ProjectHelper.replaceProperties(p, value,p.getProperties());
  +            value = p.replaceProperties(value);
               try {
                   ih.setAttribute(p, target,
                           name.toLowerCase(Locale.US), value);
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message