source: release-kits/lirk3/resources/gs3-release-maker/apache-ant-1.6.5/src/etc/testcases/taskdefs/property.xml@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 1.3 KB
Line 
1<?xml version="1.0"?>
2
3<project name="property-test" basedir="." default="test1">
4
5 <target name="test1">
6 <property environment="testenv"/>
7 </target>
8
9 <target name="test2">
10 <property name="testprop1" value="aa"/>
11 <property file="property1.properties"/>
12 <echo message="testprop1=${testprop1}, testprop3=${testprop3}, testprop4=${testprop4}"/>
13 </target>
14
15 <target name="test3">
16 <property file="property2.properties"/>
17 </target>
18
19 <target name="test4">
20 <property name="http.port" value="999" />
21 <property file="property3.properties"/>
22 <echo message="http.url is ${http.url}"/>
23 </target>
24
25 <target name="test5">
26 <property name="http.port" value="999" />
27 <property url="${test5.url}"/>
28 <echo message="http.url is ${http.url}"/>
29 </target>
30
31 <target name="prefix.success">
32 <property file="property3.properties" prefix="server1"/>
33 </target>
34
35 <target name="prefix.fail">
36 <property name="someprop" value="value" prefix="prefix"/>
37 </target>
38
39 <!-- caused an endless loop, PR 21825 -->
40 <target name="testCircularReference">
41 <property file="property4.properties"/>
42 </target>
43
44 <target name="thisIsNotACircularReference">
45 <property file="property5.properties"/>
46 <echo>b is ${b}</echo>
47 </target>
48
49</project>
Note: See TracBrowser for help on using the repository browser.