ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/make sample.ant
Date Sat, 05 Jan 2002 03:22:13 GMT
donaldp     02/01/04 19:22:13

  Modified:    proposal/myrmidon/src/make sample.ant
  Log:
  Add some tests to check that loadproperties and load-environment work as expected
  
  Revision  Changes    Path
  1.19      +10 -0     jakarta-ant/proposal/myrmidon/src/make/sample.ant
  
  Index: sample.ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/sample.ant,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- sample.ant	30 Dec 2001 00:27:45 -0000	1.18
  +++ sample.ant	5 Jan 2002 03:22:13 -0000	1.19
  @@ -138,4 +138,14 @@
   
     </target>
   
  +  <target name="loadenvironment-test">
  +    <load-environment prefix="env"/>
  +    <log message="env.TMP=${env.TMP}"/>
  +  </target>
  +
  +  <target name="loadproperties-test">
  +    <load-properties prefix="myPrefix" file="template-simple.properties"/>
  +    <log message="myPrefix.foo=${myPrefix.foo}"/>
  +  </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