на свеже скаченую симфонию ( с офф сайта) настраиваю подключение к БД - все ок.
Генерирую bundle
php app/console generate:bundle
Bundle namespace: Test/TestBundle
Bundle name [TestTestBundle]:
Target directory [/var/sites/news/src]:
Configuration format (yml, xml, php, or annotation): php
Do you want to generate the whole directory structure [no]? yes
Do you confirm generation [yes]? yes
Generating the bundle code: OK
Checking that the bundle is autoloaded: OK
Confirm automatic update of your Kernel [yes]?
Enabling the bundle inside the Kernel: OK
Confirm automatic update of the Routing [yes]?
Importing the bundle routing resource: OK
You can now start using the generated code!
Все ок, Bundle создан.
Потом php app/console doctrine:database:create
проверяю создана ли БД - да создана.
Далее
php app/console doctrine:generate:entity
The Entity shortcut name: TestTestBundle:Test
Configuration format (yml, xml, php, or annotation) [annotation]: php
New field name (press <return> to stop adding fields): name
Field type [string]:
Field length [255]:
New field name (press <return> to stop adding fields):
Do you want to generate an empty repository class [no]? y
You are going to generate a "TestTestBundle:Test" Doctrine2 entity using the "php" format.
Do you confirm generation [yes]? y
Generating the entity code: OK
Проверяю
src/Test/TestBundle/Entity там созданы 2 файла
Test.php и
TestRepository.php
Потом делаю:
php app/console doctrine:schema:update --force
который завершается ошибкой:
No Metadata Classes to process.
Подскажите, почему не генерируется таблица?