http://nagoya.apache.org/bugzilla/show_bug.cgi?id=607
*** shadow/607 Wed Feb 14 08:59:32 2001 --- shadow/607.tmp.21477 Wed Feb 14 08:59:32 2001 *************** *** 0 **** --- 1,30 ---- + +============================================================================+ + | Order not considered in build targets | + +----------------------------------------------------------------------------+ + | Bug #: 607 Product: Ant | + | Status: NEW Version: 1.2 | + | Resolution: Platform: PC | + | Severity: Major OS/Version: | + | Priority: Component: Build Process | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + When using the depends clause on a target, the order of the + targets in the depends attribute is NOT respected, and the + targets listed in the depends attribute are executed in order + of their placement in the source build.xml file. Dependency + on target placement within the source build file is a poor + algorithm for dependency execution, and prohibits simplified + listing of subtasks, and then a task executing them in the + correct order. Currently the only way to do this would be to + shift targets in the build file to order them carefully and + then execute all of them, or design the build in a hierarchical + fashion and only have one dependency for each target. The current + Ant documentation indicates that ordering is respected, and I + have tested by moving targets in the build file and this + changes ordering of the build.
