Hello,
  I noticed something weird when I'm executing symfony propel-build-all.

Here is a quick summary of the situation.
I've a project and a bunch of plugins defining schemas.

My plugins are very customizable. In the top of the schema.yml, I set the
SF_ROOT_DIR, SF_APP etc. and load the application config.php.

When I run the symfony propel-build-all, I've an error.

***********************************
Notice: constant SF_ROOT_DIR already definied in
xxx\vbXXXPlugin\config\schema.yml on line 3
Notice: constant SF_APP already definied in
xxx\vbXXXPlugin\config\schema.yml on line 4
etc.
[sfException] A schema.yml must only contain 1 database entry
***********************************

It is definitely related to the plugins and to the php code in the
schema.yml. If I remove the php code, it works.

Also, if I keep the php code in the schema and execute the sequence symfony
propel-build-model; symfony propel-build-sql; symfony propel-insert-sql. It
works too!!!

I thought symfony propel-build-all was supposed to simulate this behavior
(build-model, build-sql, insert-sql). But, it is not.

I'll open a new ticket if I don't receive any reply to this post.

Thanks
-Hassen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to