You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/01/05 04:22:13 UTC
cvs commit: jakarta-ant/proposal/myrmidon/src/make sample.ant
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>