From: Scott H. <sk...@eo...> - 2003-12-08 19:23:58
|
Yes, I can confirm this behavior in cvs. This is a bug... :( ----- Original Message -----=20 From: Buc=20 To: nan...@li...=20 Sent: Monday, December 08, 2003 4:24 AM Subject: [nant-dev] Depends targets getting executed multiple times in = 8.4 After the change to the explicit <call> behavior, now ensuring all = dependencies get called, there has also been a change to the behavior of = depends=3D arguments: These depends targets now always get called also, even if already = executed. For example: <target name=3D"debug" depends=3D"onetimesetup"/> <target name=3D"release" depends=3D"onetimesetup"/> running "nant debug release" results in onetimesetup being called for = each target. This is contrary to what I would expect "makelike" behavior to be, and = also contrary to the current documentation for <target>: "A target gets executed only once, even when more than one target = depends on it (see the previous example)." I like the change to <call> so you can more easily call targets as = subroutines, but think the former behavior of depends=3D should be = restored. / /br |