title: Symfony Entites import - No Metadata Classes to process
body: <p>With Symfony 4, I want to generate Entities from an existing database but when I try to convert my <code>*.orm.xml</code> files, I get this message :</p>
  
  <pre><code>[OK] No Metadata Classes to process.
  </code></pre>
  
  <p>I have several <code>*orm.xml</code> files in <code>src/Resources/config/doctrine</code> :</p>
  
  <pre><code>ls -l src/Resources/config/doctrine/
  </code></pre>
  
  <p><strong>Steps to reproduce</strong></p>
  
  <ol>
  <li><p>Create a bundle in <code>src/</code> :</p>
  
  <pre><code>&lt;?php
  namespace App;
  
  use Symfony\Component\HttpKernel\Bundle\Bundle;
  
  class App extends Bundle
  {
  }
  </code></pre></li>
  <li><p>In <code>config/bundles.php</code>, add :</p>
  
  <pre><code>App\App::class =&gt; ['all' =&gt; true],
  </code></pre></li>
  <li><p>Execute <code>php bin/console doctrine:mapping:import --force App xml</code> to generate <code>*.orm.xml</code> files</p></li>
  <li><p>Execute <code>php bin/console doctrine:mapping:convert annotation ./src</code> to generate entities.</p></li>
  </ol>
  
  <p>The last command return the message <code>No Metadata Classes to process.</code>.</p>
  
  <p><a href="https://symfony.com/doc/current/doctrine/reverse_engineering.html" rel="nofollow noreferrer">https://symfony.com/doc/current/doctrine/reverse_engineering.html</a></p>
  
  <p>Any idea ?</p>
  
  <p>Many thanks</p>