From 41227cd1198c4a3db1a550303d23dd0d64df8f04 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
There was a number of valid reasons for this change. But the backward - compatibility problems were not noticied until after Ant 1.6.0 was + compatibility problems were not noticed until after Ant 1.6.0 was released.
@@ -1570,11 +1570,11 @@ mv /tmp/foo $ANT_HOME/bin/antRun If you want to do more processing on the task, you need to use the techniques in apache.tools.ant.taskdefs.Antlib#execute() This does make use of one 1.6 method call (UE#getRealObject()), - you need to use UE#getTask() instread - this will + you need to use UE#getTask() instead - this will return null for non tasks (types like fileset id=x).
- So.. interate over the tasks, if they are UEs, convert them to + So.. iterate over the tasks, if they are UEs, convert them to tasks, using UE#maybeConfigure and UE#getTask()
diff --git a/xdocs/faq.xml b/xdocs/faq.xml index b4825cbac..b3cc58afb 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -1371,7 +1371,7 @@ mv /tmp/foo $ANT_HOME/bin/antRunThere was a number of valid reasons for this change. But the backward - compatibility problems were not noticied until after Ant 1.6.0 was + compatibility problems were not noticed until after Ant 1.6.0 was released.
@@ -1384,11 +1384,11 @@ mv /tmp/foo $ANT_HOME/bin/antRun If you want to do more processing on the task, you need to use the techniques in apache.tools.ant.taskdefs.Antlib#execute() This does make use of one 1.6 method call (UE#getRealObject()), - you need to use UE#getTask() instread - this will + you need to use UE#getTask() instead - this will return null for non tasks (types like fileset id=x).
- So.. interate over the tasks, if they are UEs, convert them to + So.. iterate over the tasks, if they are UEs, convert them to tasks, using UE#maybeConfigure and UE#getTask()