ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [DO NOT REPLY: Bug 3110] -
Date Mon, 13 Aug 2001 22:12:31 GMT
target ordering not working as documented

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3110

*** shadow/3110	Mon Aug 13 15:03:49 2001
--- shadow/3110.tmp.4214	Mon Aug 13 15:12:31 2001
***************
*** 2,9 ****
  | target ordering not working as documented                                  |
  +----------------------------------------------------------------------------+
  |        Bug #: 3110                        Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.3                     |
! |   Resolution: WORKSFORME                 Platform: Other                   |
  |     Severity: Major                    OS/Version: Other                   |
  |     Priority: Other                     Component: Core                    |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | target ordering not working as documented                                  |
  +----------------------------------------------------------------------------+
  |        Bug #: 3110                        Product: Ant                     |
! |       Status: REOPENED                    Version: 1.3                     |
! |   Resolution:                            Platform: Other                   |
  |     Severity: Major                    OS/Version: Other                   |
  |     Priority: Other                     Component: Core                    |
  +----------------------------------------------------------------------------+
***************
*** 50,52 ****
--- 50,71 ----
  and A, it will first call target C, which depends on B, so it will call B first 
  before continuing, becuse B depends on A, the A target gets executed first then 
  B then C and then D. So the docs are correct.
+ 
+ ------- Additional Comments From bstout@ventaso.com  2001-08-13 15:12 -------
+ But in my code example, A is NOT getting executed first, D is!  In the docs, it 
+ says A will be executed first.
+ 
+ Here's a snippet of the docs:
+ 
+ Ant tries to execute the targets in the depends attribute in the order they 
+ appear (from left to right). Keep in mind that it is possible that a target can 
+ get executed earlier when an earlier target depends on it:
+ 
+ <target name="A"/>
+ <target name="B" depends="A"/>
+ <target name="C" depends="B"/>
+ <target name="D" depends="C,B,A"/>
+ Suppose we want to execute target D. From its depends attribute, you might 
+ think that first target C, then B and then A is executed. Wrong! C depends on 
+ B, and B depends on A, so first A is executed, then B, then C, and finally D.
+ 

Mime
View raw message