Le 12/05/2011 11:44, Javier Garcia a écrit :
Hi,
after doing php app/console doctrine:schema:create I'm getting the
message "No Metadata Classes to process.".
My steps are just these:
- Download sf2, create the bundle Jander/ClarBlundle.
- Create Jander/ClarBundle/Resources/config/doctrine/
Jander.ClarBundle.Entity.User.orm.dcm.yml with this content:
remove the .dcm part if you are using the master branch
Or place it in Resources/config/doctrine/metadata/orm/ and remove the
.orm part if you are using beta1
the place where to put the file changed 2 times after beta1. The doc was
regenerated with the intermediate version (it is now uptodate in the git
repo)
Jander\ClarBundle\Entity\User:
type: entity
table: user
id:
id:
type: integer
generator:
strategy: AUTO
fields:
name:
type: string
length: 255
I don't have any problems with doctrine:database:create.
Any idea?
sf2 beta1.
Javier
--
Christophe | Stof
--
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