Hi.

Build-sql generates sql files using package attribute for their names.
So you have to have different values for this attribute in each schema
or they will overwrite each other.

propel:
  _attributes:      { package: apps.pp.lib.model }



On Jun 8, 4:33 pm, Eno <[email protected]> wrote:
> When running propel:build-sql in a symfony 1.2 project, I get this
> error:
>
> Fatal error: Call to a member function addTable() on a non-object in /
> usr/local/lib/php/symfony/plugins/sfPropelPlugin/lib/vendor/propel-
> generator/classes/propel/phing/PropelSQLTask.php on line 237
>
> Unfortunately, its not very informative about where the error actually
> is :-)
>
> We have various plugins and so multple schema files. Ive seen a few
> posts on this but no true solution.
>
> Has anyone run across this and found a solution?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to