title: Create tables and entities with Doctrine2 based on schema declaration
body: <p>I am trying to get <code>Doctrine2</code> and <code>Zend Framework</code> working together. So far I have been able to autoload <code>Doctrine2</code> and connect to my database.</p>
  
  <p>I am now looking forward creating my tables using a schema declaration in <code>yml</code> :</p>
  
  <pre><code>Doctrine\Entities\User:
      type: entity
      table: core_user
      columns:
          id:
              primary: true
              autoincrement: true
              type: integer(11)
              notnull: true
          name:
              type: string
              notnull: true
              default: ''
          middle_name:
              type: string
              default: ''
          last_name:
              type: string
              notnull:true
              default: ''
          username:
              type: varchar(16)
              default: ''
          email:
              type: string
              notnull: true
              default: ''
          role_id:
              type: integer
          date_creation:
              type: timestamp
          version:
              type: timestamp
  </code></pre>
  
  <p>I have been able to get the command line working, but I can't get it to create the tables in my database.</p>
  
  <p>I am using a standard <code>Zend Framework</code> folder structure</p>
  
  <pre><code>+-- Application
        +-- configs
        +-- controllers
        +-- doctrine
            +-- Schema
                +-- schema.yml
            +-- Entities
            cli-config.php
        +-- layouts
        +-- models
        +-- modules
        +-- view
        bootstrap.php
  +-- Public
  +-- Library
        +-- Doctrine2
  +-- Tests
  </code></pre>
  
  <p>My schema declaration is in <code>Application/doctrine/Schema/schema.yml</code> and I am looking to create my database <code>tables</code> and my <code>Entities</code> from it.</p>
  
  <p>When I try to run the command <code>doctrine orm:schema-tool:create</code> I get the following message : <code>No Metadata Classes to process.</code> and I am wondering why.</p>
  
  <p>Am I on the right way of getting it working, or should I define manually my entities and then try to create my tables from it?</p>