|
|
@@ -17,19 +17,18 @@ |
|
|
|
--> |
|
|
|
<project name="test" xmlns:other="this is the other uri" |
|
|
|
other:attr="this should be ignored by ant"> |
|
|
|
|
|
|
|
<property name="testcases.dir" location="../../../../build/testcases"/> |
|
|
|
<property name="testcases.dir" location="${build.tests.value}"/> |
|
|
|
|
|
|
|
<path id="testclasses"> |
|
|
|
<pathelement location="${testcases.dir}" /> |
|
|
|
<pathelement path="${java.class.path}" /> |
|
|
|
<pathelement location="${testcases.dir}"/> |
|
|
|
<pathelement path="${java.class.path}"/> |
|
|
|
</path> |
|
|
|
|
|
|
|
<target name="xmlns" xmlns:test="this.is.another.test.uri"> |
|
|
|
<typedef classname="org.apache.tools.ant.taskdefs.XmlnsTest$MyTask" |
|
|
|
classpathref="testclasses" |
|
|
|
name="mytask" |
|
|
|
uri="this.is.another.test.uri" /> |
|
|
|
uri="this.is.another.test.uri"/> |
|
|
|
<test:mytask/> |
|
|
|
</target> |
|
|
|
|
|
|
@@ -46,22 +45,20 @@ |
|
|
|
<target name="xmlns.file" xmlns:test="this.is.a.test.uri"> |
|
|
|
<typedef file="test.antlib.xml" |
|
|
|
classpathref="testclasses" |
|
|
|
uri="this.is.a.test.uri" /> |
|
|
|
uri="this.is.a.test.uri"/> |
|
|
|
<test:mytask/> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="core"> |
|
|
|
<typedef file="test.antlib.xml" |
|
|
|
classpathref="testclasses" |
|
|
|
uri="antlib:org.apache.tools.ant" /> |
|
|
|
uri="antlib:org.apache.tools.ant"/> |
|
|
|
<mytask/> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="excluded"> |
|
|
|
<typedef file="test.antlib.xml" |
|
|
|
classpathref="testclasses" |
|
|
|
uri="ant:notallowed" /> |
|
|
|
uri="ant:notallowed"/> |
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
</project> |
|
|
|
</project> |