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 2009/09/01 12:19:43 UTC
svn commit: r809956 - /ant/core/trunk/src/tests/antunit/propertyhelpers.xml
Author: bodewig
Date: Tue Sep 1 10:19:43 2009
New Revision: 809956
URL: http://svn.apache.org/viewvc?rev=809956&view=rev
Log:
simplify propertyhelper usage
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=809956&r1=809955&r2=809956&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/propertyhelpers.xml (original)
+++ ant/core/trunk/src/tests/antunit/propertyhelpers.xml Tue Sep 1 10:19:43 2009
@@ -73,19 +73,17 @@
</target>
<target name="defineHelpers" depends="compileHelpers">
- <typedef name="urlhelper"
+ <componentdef name="urlhelper"
classname="org.apache.ant.propertyhelper.URLHelper">
<classpath location="${propout}"/>
- </typedef>
- <urlhelper id="url"/>
- <typedef name="javahelper"
+ </componentdef>
+ <componentdef name="javahelper"
classname="org.apache.ant.propertyhelper.JavaHelper">
<classpath location="${propout}"/>
- </typedef>
- <javahelper id="java"/>
+ </componentdef>
<propertyhelper>
- <delegate refid="url"/>
- <delegate refid="java"/>
+ <urlhelper/>
+ <javahelper/>
</propertyhelper>
</target>