Changeset 75

Show
Ignore:
Timestamp:
05/23/06 14:14:19 (3 years ago)
Author:
hans
Message:

Added condition to finished() to ensure that tasks that have containers are not prematurely executed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/phing/parser/TaskHandler.php

    r74 r75  
    166166            $this->wrapper->setAttributes($attrs); 
    167167            /* 
    168              
    169168                        Commenting this out as per thread on Premature configurate of ReuntimeConfigurables  
    170169            with Matthias Pigulla: http://phing.tigris.org/servlets/ReadMsg?list=dev&msgNo=251 
     
    185184     */ 
    186185    protected function finished() { 
    187         if ($this->task !== null && $this->target === null) { 
     186        if ($this->task !== null && $this->target === null && $this->container === null) { 
    188187            try { 
    189188                $this->task->main();