bodewig 2003/07/24 00:07:06
Modified: src/etc/testcases/taskdefs property.xml
src/testcases/org/apache/tools/ant/taskdefs
PropertyTest.java
Added: src/etc/testcases/taskdefs property5.properties
Log:
Show bug I've introduced yesterday
Revision Changes Path
1.8 +5 -0 ant/src/etc/testcases/taskdefs/property.xml
Index: property.xml
===================================================================
RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/property.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- property.xml 23 Jul 2003 15:14:18 -0000 1.7
+++ property.xml 24 Jul 2003 07:07:06 -0000 1.8
@@ -41,4 +41,9 @@
<property file="property4.properties"/>
</target>
+ <target name="thisIsNotACircularReference">
+ <property file="property5.properties"/>
+ <echo>b is ${a}</echo>
+ </target>
+
</project>
1.1 ant/src/etc/testcases/taskdefs/property5.properties
Index: property5.properties
===================================================================
a=A
b=${a}/${a}
1.12 +4 -0
ant/src/testcases/org/apache/tools/ant/taskdefs/PropertyTest.java
Index: PropertyTest.java
===================================================================
RCS file:
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/PropertyTest.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- PropertyTest.java 23 Jul 2003 15:14:19 -0000 1.11
+++ PropertyTest.java 24 Jul 2003 07:07:06 -0000 1.12
@@ -128,4 +128,8 @@
fail("Did not throw exception on circular exception");
}
+ public void testThisIsNotACircularReference() {
+ expectLog("thisIsNotACircularReference", "b is A/A");
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]