Correct path display for plugins.

Fixes 
This commit is contained in:
mark_story 2012-02-05 12:00:30 -05:00
parent d56cc43cc5
commit f3b990bf0f
5 changed files with 5 additions and 5 deletions

View file

@ -126,7 +126,7 @@ class ControllerTask extends BakeTask {
protected function _interactive() { protected function _interactive() {
$this->interactive = true; $this->interactive = true;
$this->hr(); $this->hr();
$this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->path)); $this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->getPath()));
$this->hr(); $this->hr();
if (empty($this->connection)) { if (empty($this->connection)) {

View file

@ -137,7 +137,7 @@ class FixtureTask extends BakeTask {
protected function _interactive() { protected function _interactive() {
$this->DbConfig->interactive = $this->Model->interactive = $this->interactive = true; $this->DbConfig->interactive = $this->Model->interactive = $this->interactive = true;
$this->hr(); $this->hr();
$this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->path)); $this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->getPath()));
$this->hr(); $this->hr();
if (!isset($this->connection)) { if (!isset($this->connection)) {

View file

@ -190,7 +190,7 @@ class ModelTask extends BakeTask {
*/ */
protected function _interactive() { protected function _interactive() {
$this->hr(); $this->hr();
$this->out(__d('cake_console', "Bake Model\nPath: %s", $this->path)); $this->out(__d('cake_console', "Bake Model\nPath: %s", $this->getPath()));
$this->hr(); $this->hr();
$this->interactive = true; $this->interactive = true;

View file

@ -94,7 +94,7 @@ class TestTask extends BakeTask {
$this->interactive = true; $this->interactive = true;
$this->hr(); $this->hr();
$this->out(__d('cake_console', 'Bake Tests')); $this->out(__d('cake_console', 'Bake Tests'));
$this->out(__d('cake_console', 'Path: %s', $this->path)); $this->out(__d('cake_console', 'Path: %s', $this->getPath()));
$this->hr(); $this->hr();
if ($type) { if ($type) {

View file

@ -195,7 +195,7 @@ class ViewTask extends BakeTask {
*/ */
protected function _interactive() { protected function _interactive() {
$this->hr(); $this->hr();
$this->out(sprintf("Bake View\nPath: %s", $this->path)); $this->out(sprintf("Bake View\nPath: %s", $this->getPath()));
$this->hr(); $this->hr();
$this->DbConfig->interactive = $this->Controller->interactive = $this->interactive = true; $this->DbConfig->interactive = $this->Controller->interactive = $this->interactive = true;