Do you use a customized connection, which is not "propel"? If this is the case, you need to specify it when launching the task:
./symfony propel:build-forms --connection="your_connection_name" Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Matías López wrote: > Hello everyone, > > I am in the same situation than Andreas, I'm upgrading my Symfony app > from 1.0 to 1.1 version. So far is working OK with the compatibility mode. > > The problem is when I try to generate the new form classes with the > "symfony propel:build-forms" command. The script is only creating my > BaseFormPropel.class.php file, not a single class for the tables. > > I am also using the schema.xml format as Andreas. > > Is there any way to figure out what is "not" happening? I looked in the > apache logs and Symfony logs and they have absolute nothing, no error > messages. > > This is the output of the command: > > C:\work\php\Cina2>symfony propel:build-forms > >> propel generating form classes > > Any help would be appreciated, > > Regards, > > Matías López > > On Fri, Jul 4, 2008 at 9:49 AM, Andreas Hucks <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Hi all, > > I am (for the first time) trying to generate base forms using "symfony > propel:build-forms" as described in the new forms book. > > However, all that is generated is a single, empty, > BaseFormPropel.class.php file. > > There a two things that are different in my setup: I use schema.xml, not > .yml (personal preference) and my entire schema is in a plugin. From > what I get from the docs, there should be no problems because of that, > correct? The other propel tasks work as expected. > > I checked the whole project directory if the classes may have been > created in the plugin dir or elsewhere, but nothing. > > Any ideas? > > Thanks, > Andreas > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---