Uploaded image for project: 'Doctrine 1'
  1. Doctrine 1
  2. DC-209

Compiler includes unnecessary files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.2.0-BETA3
    • Component/s: Compiler
    • Labels:
      None

      Description

      Doctrine Compiler recursively includes all the files it finds under Doctrine::getPath() location, which is the directory that contains Doctrine.php. In some cases it is convenient to put other libraries in the same directory, especially if they also use Zend Framework-like naming scheme. If including any of those files fails, for example because of parse error or not satisified dependency, to whole compilation fails.

      The fix changes the directory traversed recursively to Doctrine::getPath().'/Doctrine', so the compiler does not try to include anything unrelated.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jwage Jonathan H. Wage
            Reporter:
            jdudek Jan Dudek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: