Changeset 249
- Timestamp:
- 10/17/07 00:58:00 (9 months ago)
- Files:
-
- trunk/classes/phing/tasks/ext/PDOSQLExecTask.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/classes/phing/tasks/ext/PDOSQLExecTask.php
r221 r249 273 273 throw new BuildException("Source file does not exist!", $this->location); 274 274 } 275 275 276 276 // deal with the filesets 277 for ($i = 0,$size=count($this->filesets); $i < $size; $i++) { 278 $fs = $this->filesets[$i]; 277 foreach($this->filesets as $fs) { 279 278 $ds = $fs->getDirectoryScanner($this->project); 280 279 $srcDir = $fs->getDir($this->project); 281 282 280 $srcFiles = $ds->getIncludedFiles(); 283 284 281 // Make a transaction for each file 285 for ($j=0, $size=count($srcFiles); $j < $size; $j++) {282 foreach($srcFiles as $srcFile) { 286 283 $t = $this->createTransaction(); 287 $t->setSrc(new PhingFile($srcDir, $srcFile s[$j]));284 $t->setSrc(new PhingFile($srcDir, $srcFile)); 288 285 } 289 286 }
