git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276116 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -1557,7 +1557,7 @@ mv /tmp/foo $ANT_HOME/bin/antRun | |||||
| </p> | </p> | ||||
| <p> | <p> | ||||
| There was a number of valid reasons for this change. But the backward | 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. | released. | ||||
| </p> | </p> | ||||
| <p> | <p> | ||||
| @@ -1570,11 +1570,11 @@ mv /tmp/foo $ANT_HOME/bin/antRun | |||||
| If you want to do more processing on the task, | If you want to do more processing on the task, | ||||
| you need to use the techniques in apache.tools.ant.taskdefs.Antlib#execute() | 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()), | 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). | return null for non tasks (types like fileset id=x). | ||||
| </p> | </p> | ||||
| <p> | <p> | ||||
| 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() | tasks, using UE#maybeConfigure and UE#getTask() | ||||
| </p> | </p> | ||||
| <pre class="code"> | <pre class="code"> | ||||
| @@ -1371,7 +1371,7 @@ mv /tmp/foo $ANT_HOME/bin/antRun | |||||
| </p> | </p> | ||||
| <p> | <p> | ||||
| There was a number of valid reasons for this change. But the backward | 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. | released. | ||||
| </p> | </p> | ||||
| <p> | <p> | ||||
| @@ -1384,11 +1384,11 @@ mv /tmp/foo $ANT_HOME/bin/antRun | |||||
| If you want to do more processing on the task, | If you want to do more processing on the task, | ||||
| you need to use the techniques in apache.tools.ant.taskdefs.Antlib#execute() | 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()), | 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). | return null for non tasks (types like fileset id=x). | ||||
| </p> | </p> | ||||
| <p> | <p> | ||||
| 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() | tasks, using UE#maybeConfigure and UE#getTask() | ||||
| </p> | </p> | ||||
| <source><![CDATA[ | <source><![CDATA[ | ||||