Hi, I want to run this command in PR11 : $ php app/console doctrine:generate:entities SdvSuiviBundle And I get : Bundle SdvSuiviBundle does not contain any mapped entities.
In config.yml, I have : # Doctrine Configuration doctrine: dbal: default_connection: default connections: default: driver: %database_driver% host: %database_host% dbname: %database_name% user: %database_user% password: %database_password% orm: auto_generate_proxy_classes: %kernel.debug% default_entity_manager: default entity_managers: default: mappings: SdvSuiviBundle: ~ In src/Sdv/SuiviBundle/Entity/Mail.php, I have this : <?php namespace Sdv\SdvSuiviBundle\Entity; /** * @orm:Entity */ class Mail { /** * @orm:Id * @orm:Column(type="integer") * @orm:GeneratedValue(strategy="AUTO") */ protected $id; /** * @orm:Column(type="string", length="255") */ protected $key; /** * @orm:Column(type="text") */ protected $object; /** * @orm:Column(type="text") */ protected $from; /** * @orm:Column(type="text") */ protected $header; /** * @orm:Column(type="text") */ protected $body; /** * @orm:Column(type="text") */ protected $raw; /** * @orm:Column(type="datetime", name="created_at") */ protected $createdAt; /** * @orm:Column(type="datetime", name="updated_at") */ protected $updatedAt; public function __construct() { $this->createdAt = new \DateTime(); $this->updatedAt = new \DateTime(); } } Please, help me. I'm begenning with Symfony 2. It's a huge step for me coming from Symfony 1.0.x -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en