Alexander
Alexander

Reputation: 31

Issues with doctrine build in Symfony

I am getting stuck with this Symfony command after following the Jobeet tutorial on their site. After running the build model command, here's what I get:

$ php symfony doctrine:build --model

doctrine generating model classes file+ /private/var/folders/yX/yXtbVXwPHcCUpfC-n06OAU+++TI/-Tmp-/doctrine_schema_56533.yml

No yml schema found in /private/var/folders/yX/yXtbVXwPHcCUpfC-n06OAU+++TI/-Tmp-/doctrine_schema_56533.yml

Any ideas?

Upvotes: 1

Views: 1173

Answers (2)

Jueki
Jueki

Reputation: 21

Did you make sure that all your schema code is YAML compliant? Maybe you can share the content of your current schema.yml with us.

Upvotes: 0

benlumley
benlumley

Reputation: 11382

What's then full path to your schema.yml? Looks like it might be in the wrong place.

I encountered a couple of issues in the jobeet tutorial and found it helpful to compare my file contents/paths to the tag for the relevant day at http://svn.jobeet.org/doctrine/tags/

Upvotes: 0

Related Questions