Bugs item #1090260, was opened at 2004-12-23 09:15 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1090260&group_id=31650
Category: Functions Group: 0.85 >Status: Closed >Resolution: Fixed 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. ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2004-12-23 09:44 Message: Logged In: YES user_id=707851 Fixed in CVS. ---------------------------------------------------------------------- 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 nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers