When you have this build file :
<project name="target-test" default="A">
<target name="A">
<echo message="${target::get-
current-target()}" />
<call target="B" />
<echo message="${target::get-
current-target()}" />
</target>
<target name="B" depends="C">
<echo message="${target::get-current-target
()}" />
</target>
<target name="C">
<echo message="${target::get-
current-target()}" />
</target>
</project>
This results in the following output :
A:
[echo] A
C:
[echo] C
B:
[echo] B
[echo] B
Meaning, the second <echo> in target "A" actually
returns "B", while this should ofcourse be "A".
After the <call> task is used to execute a target, the
current target should be the target that contains the
<call> task.
Gert Driesen
Functions
0.85
Public
|
Date: 2004-12-23 08:44 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2004-12-23 08:44 | drieseng |
| resolution_id | None | 2004-12-23 08:44 | drieseng |
| close_date | - | 2004-12-23 08:44 | drieseng |