source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/src/etc/testcases/core/immutable.xml@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 1.7 KB
Line 
1<?xml version="1.0"?>
2
3<project name="immutable-test" basedir="." default="test1">
4
5 <target name="test1">
6 <property name="test" value="original"/>
7 <available file="immutable.xml" property="test" value="override"/>
8 </target>
9
10 <target name="test2">
11 <tstamp/>
12 <tstamp prefix="start"/>
13 </target>
14
15 <target name="test3">
16 <property name="DSTAMP" value="original"/>
17 <tstamp/>
18 </target>
19
20 <target name="test4">
21 <property name="test" value="original"/>
22 <condition property="test" value="override">
23 <equals arg1="1" arg2="1"/>
24 </condition>
25 </target>
26
27 <target name="test5">
28 <property name="test" value="original"/>
29 <checksum file="immutable.xml" verifyProperty="test"/>
30 </target>
31
32 <target name="test6">
33 <property name="test1" value="original"/>
34 <property name="test2" value="original"/>
35 <!-- How to make this cross-platform? -->
36 <exec executable="cmd.exe" os="Windows 2000" outputproperty="test1" resultProperty="test2">
37 <arg line="/c dir"/>
38 </exec>
39 </target>
40
41 <target name="test7">
42 <property name="test" value="original"/>
43 <pathconvert targetos="unix" property="test" >
44 <path>
45 <pathelement location="/lib/weblogicaux.jar" />
46 <pathelement location="/classes" />
47 <pathelement location="/mssqlserver4/classes" />
48 <pathelement location="c:\winnt\System32" />
49 </path>
50 </pathconvert>
51 </target>
52
53 <target name="test8">
54 <antcall inheritAll="false" target="echo-target">
55 <param name="echo.value" value="Meep meep!" />
56 </antcall>
57 </target>
58
59 <target name="echo-target">
60 <echo message="Value of echo=${echo.value}"/>
61 </target>
62
63</project>
Note: See TracBrowser for help on using the repository browser.