I've created the /config/doctrine/webservices.schema.yml :
------------------------------------------------------
connection: webservices
actAs: [Timestampable]
options:
  type: INNODB

User:
  package: lib.model.webservices
  columns:
    id:
      type: integer(4)
      primary: true
      autoincrement: true
    country_id: integer(4)
    password: string(255)
  relations:
    Country:
      foreignType: one
      onDelete: restrict
      onUpdate: cascade

Country:
  package: lib.model.webservices
  columns:
    id:
      type: integer(4)
      primary: true
      autoincrement: true
------------------------------------------------------

Here's command lauched :

$ ./symfony doctrine:build-model
>> doctrine  generating model classes
>> autoload  Reloading autoloaders

$ ls -l lib/model/
total 4
drwxr-xr-x 3 david david 4096 2009-10-06 11:31 doctrine

(I don't have any webservices directory)

Classes are generated in two places :
$ ls -l lib/model/doctrine/lib/
total 20
drwxr-xr-x 2 david david 4096 2009-10-06 11:44 base
-rw-r--r-- 1 david david  306 2009-10-06 11:44 Country.class.php
-rw-r--r-- 1 david david   64 2009-10-06 11:44 CountryTable.class.php
-rw-r--r-- 1 david david  297 2009-10-06 11:44 User.class.php
-rw-r--r-- 1 david david   58 2009-10-06 11:44 UserTable.class.php

$ ls -l plugins/lib/model/webservices/
total 16
-rw-r--r-- 1 david david 325 2009-10-06 11:44 PluginCountry.class.php
-rw-r--r-- 1 david david  66 2009-10-06 11:44
PluginCountryTable.class.php
-rw-r--r-- 1 david david 316 2009-10-06 11:44 PluginUser.class.php
-rw-r--r-- 1 david david  63 2009-10-06 11:44
PluginUserTable.class.php

I want class in lib/model/[doctrine/]webservices. How can I do that ?

Thanks for your support.
David.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to