Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-793

CLI doctrine.php tool should not hard code require_once paths -- leave the include path setup to cli-config.php

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA4
    • Fix Version/s: 2.0-RC1
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      The current CLI tool doctrine.php makes assumptions about lib/vendor paths. Consider refactoring to allow cli-config.php to contain any include path/autoloader setup and remove hard coded paths from doctrine.php

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Denied! That is really the PEAR binary code, nothing used in another context.

        I refactored the large bunch of code to Doctrine\ORM\Tools\Console\ConsoleRunner::main() and ::addCommands().

        Show
        Benjamin Eberlei added a comment - Denied! That is really the PEAR binary code, nothing used in another context. I refactored the large bunch of code to Doctrine\ORM\Tools\Console\ConsoleRunner::main() and ::addCommands().

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Marc Hodgins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: