ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/etc/testcases/taskdefs property.xml
Date Sat, 23 Feb 2002 20:41:55 GMT
ehatcher    02/02/23 12:41:55

  Modified:    src/etc/testcases/taskdefs property.xml
  Log:
  Added 'prefix' option to <property>. Designed to only work when loading a property
file or resource.
  
  Revision  Changes    Path
  1.5       +9 -0      jakarta-ant/src/etc/testcases/taskdefs/property.xml
  
  Index: property.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/etc/testcases/taskdefs/property.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- property.xml	31 Jul 2001 11:24:41 -0000	1.4
  +++ property.xml	23 Feb 2002 20:41:55 -0000	1.5
  @@ -21,4 +21,13 @@
       <property file="property3.properties"/>
       <echo message="http.url is ${http.url}"/>
     </target>
  +  
  +  <target name="prefix.success">
  +    <property file="property3.properties" prefix="server1"/>
  +  </target>
  +
  +  <target name="prefix.fail">
  +    <property name="someprop" value="value" prefix="prefix"/>
  +  </target>
  +  
   </project>
  
  
  

--
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