source: release-kits/lirk3/resources/gs3-release-maker/apache-ant-1.6.5/src/etc/testcases/taskdefs/xmlns.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.5 KB
Line 
1<?xml version="1.0"?>
2<project name="test" xmlns:other="this is the other uri"
3 other:attr="this should be ignored by ant">
4
5 <property name="testcases.dir" location="../../../../build/testcases"/>
6
7 <path id="testclasses">
8 <pathelement location="${testcases.dir}" />
9 <pathelement path="${java.class.path}" />
10 </path>
11
12 <target name="xmlns" xmlns:test="this.is.another.test.uri">
13 <typedef classname="org.apache.tools.ant.taskdefs.XmlnsTest$MyTask"
14 classpathref="testclasses"
15 name="mytask"
16 uri="this.is.another.test.uri" />
17 <test:mytask/>
18 </target>
19
20 <target name="other" other:a="this is another attribute">
21 <echo other:g="abc" message="a message"/>
22 </target>
23
24 <target name="ns.attributes">
25 <taskdef name="my.echo" classname="org.apache.tools.ant.taskdefs.Echo"
26 uri="x-uri"/>
27 <x:my.echo x:message="hello world" xmlns:x="x-uri"/>
28 </target>
29
30 <target name="xmlns.file" xmlns:test="this.is.a.test.uri">
31 <typedef file="test.antlib.xml"
32 classpathref="testclasses"
33 uri="this.is.a.test.uri" />
34 <test:mytask/>
35 </target>
36
37 <target name="core">
38 <typedef file="test.antlib.xml"
39 classpathref="testclasses"
40 uri="antlib:org.apache.tools.ant" />
41 <mytask/>
42 </target>
43
44 <target name="excluded">
45 <typedef file="test.antlib.xml"
46 classpathref="testclasses"
47 uri="ant:notallowed" />
48 </target>
49
50
51</project>
Note: See TracBrowser for help on using the repository browser.