You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2011/01/24 11:42:55 UTC
svn commit: r1062724 - /ant/core/trunk/src/tests/antunit/propertyhelpers.xml
Author: bodewig
Date: Mon Jan 24 10:42:55 2011
New Revision: 1062724
URL: http://svn.apache.org/viewvc?rev=1062724&view=rev
Log:
embrace antunit-base here as well
Modified:
ant/core/trunk/src/tests/antunit/propertyhelpers.xml
Modified: ant/core/trunk/src/tests/antunit/propertyhelpers.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/propertyhelpers.xml?rev=1062724&r1=1062723&r2=1062724&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/propertyhelpers.xml (original)
+++ ant/core/trunk/src/tests/antunit/propertyhelpers.xml Mon Jan 24 10:42:55 2011
@@ -16,14 +16,13 @@
limitations under the License.
-->
<project>
- <property name="propin" location="${java.io.tmpdir}/propertyhelperinput"/>
- <property name="propout" location="${java.io.tmpdir}/propertyhelperoutput"/>
+ <import file="antunit-base.xml"/>
<target name="compileHelpers">
- <mkdir dir="${propin}/org/apache/ant/propertyhelper"/>
- <mkdir dir="${propout}/org/apache/ant/propertyhelper"/>
+ <mkdir dir="${input}/org/apache/ant/propertyhelper"/>
+ <mkdir dir="${output}/org/apache/ant/propertyhelper"/>
- <echo file="${propin}/org/apache/ant/propertyhelper/URLHelper.java"><![CDATA[
+ <echo file="${input}/org/apache/ant/propertyhelper/URLHelper.java"><![CDATA[
package org.apache.ant.propertyhelper;
import org.apache.tools.ant.PropertyHelper;
@@ -40,7 +39,7 @@ public class URLHelper implements Proper
}
}
]]></echo>
- <echo file="${propin}/org/apache/ant/propertyhelper/JavaHelper.java"><![CDATA[
+ <echo file="${input}/org/apache/ant/propertyhelper/JavaHelper.java"><![CDATA[
package org.apache.ant.propertyhelper;
import java.io.File;
@@ -69,26 +68,21 @@ public class JavaHelper extends ProjectC
}
}
]]></echo>
- <javac srcdir="${propin}" destdir="${propout}"/>
+ <javac srcdir="${input}" destdir="${output}"/>
</target>
<target name="defineHelpers" depends="compileHelpers">
<componentdef name="urlhelper"
classname="org.apache.ant.propertyhelper.URLHelper">
- <classpath location="${propout}"/>
+ <classpath location="${output}"/>
</componentdef>
<componentdef name="javahelper"
classname="org.apache.ant.propertyhelper.JavaHelper">
- <classpath location="${propout}"/>
+ <classpath location="${output}"/>
</componentdef>
<propertyhelper>
<urlhelper/>
<javahelper/>
</propertyhelper>
</target>
-
- <target name="tearDown">
- <delete dir="${propin}"/>
- <delete dir="${propout}"/>
- </target>
</project>