Bugs item #1090260, was opened at 2004-12-23 09:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1090260&group_id=31650
Category: Functions
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Gert Driesen (drieseng)
Assigned to: Gert Driesen (drieseng)
Summary: target::get-current-target() incorrect after <call>
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1090260&group_id=31650
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers