You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2005/10/27 17:11:37 UTC

svn commit: r328892 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties

Author: jhm
Date: Thu Oct 27 08:11:12 2005
New Revision: 328892

URL: http://svn.apache.org/viewcvs?rev=328892&view=rev
Log:
Class Transform is deprecated for a long time, functions are in ExecuteOn - why not use the class directly (instead of inherited one).

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties?rev=328892&r1=328891&r2=328892&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties Thu Oct 27 08:11:12 2005
@@ -2,7 +2,7 @@
 ant=org.apache.tools.ant.taskdefs.Ant
 antcall=org.apache.tools.ant.taskdefs.CallTarget
 antstructure=org.apache.tools.ant.taskdefs.AntStructure
-apply=org.apache.tools.ant.taskdefs.Transform
+apply=org.apache.tools.ant.taskdefs.ExecuteOn
 available=org.apache.tools.ant.taskdefs.Available
 basename=org.apache.tools.ant.taskdefs.Basename
 buildnumber=org.apache.tools.ant.taskdefs.BuildNumber



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: svn commit: r328892 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 27 Oct 2005, <jh...@apache.org> wrote:

> Transform is deprecated for a long time, functions are in ExecuteOn
> - why not use the class directly (instead of inherited one).

Because

        Transform t = (Transform) getProject().createTask("apply");

will throw a runtime exception then,

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org