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:21:06 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:12:31 2001
--- shadow/3110.tmp.4239	Mon Aug 13 15:21:06 2001
***************
*** 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                    |
  +----------------------------------------------------------------------------+
--- 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                    |
  +----------------------------------------------------------------------------+
***************
*** 68,71 ****
--- 68,96 ----
  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.
+ 
+ 
+ 
+ ------- Additional Comments From mvdb@mvdb.com  2001-08-13 15:21 -------
+ In your example only the run target depends on each individual target, the 
+ depending targets don't depend on each other.
+ If you have <target name="d" depends "c"> then the execution order will change 
+ to
+ c, d, b, a 
+ So the example 
+ D depends on D, C, B
+ C depends on B
+ B depends on A
+ which executes in the order A B C D
+ 
+ Your sample is :
+ run depends on d, c, b, a
+ d doesn't depend on anything
+ c doesn't depend on anything
+ b doesn't depend on anything
+ a doesn't depend on anything
+ 
+ That's why it is executed in the order you entered it. Hope this clears it up..
+ 
+ 
  

Mime
View raw message