Login | Register
My pages Projects Community openCollabNet

Discussions > users > [propel] Using Creole to generate xml schema from db.

propel
Discussion topic

Back to topic list

[propel] Using Creole to generate xml schema from db.

Reply

Author davidu
Full name David A. Ulevitch
Date 2004-03-31 06:02:42 PST
Message I think I have my build.properties setup correctly (as per the example)
and I'm running:

davidu@fiona:/var/op​t/php5/lib/propel$ phing -f build-propel.xml creole
Buildfile: /var/opt/php5/lib/pr​opel/build-propel.xm​l

propel > creole:
      [echo] +-------------------​--------------------​--------+
      [echo] | |
      [echo] | Generating XML from Creole connection ! |
      [echo] | |
      [echo] +-------------------​--------------------​--------+
[propel-creole-transform] Propel - CreoleToXMLSchema starting
[propel-creole-transform] Your DB settings are:
[propel-creole-transform] driver : (default)
[propel-creole-transform] URL :
mysql://everybox:***​*******@localhost/ev​erybox
[propel-creole-transform] user : ${databaseUser}
[propel-creole-transform] Object id #421
[propel-creole-transform] Propel - CreoleToXMLSchema finished

BUILD SUCCESSFUL

Total time: 0.2966 seconds
davidu@fiona:/var/op​t/php5/lib/propel$

But I get no generated xml schema file anywhere in the ./build area or
in ./schema

my build.properties looks like this:
propel.database.url = mysql://everybox:***​*****@localhost/ever​ybox
#propel.database.dbname = everybox
#propel.database.user = everybox
#propel.database.password = ********
propel.database.schema = everybox-schema.xml


Is this not supposed to work? My database has many tables and I'd
rather generate the skeleton and fix it than write it all out from
hand.

thanks,
davidu

ps: please cc' me as I am not subscribed.


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@pr​opel.tigris.org
For additional commands, e-mail: users-help at propel dot tigris dot org

« Previous message in topic | 1 of 6 | Next message in topic »

Messages

Show all messages in topic

[propel] Using Creole to generate xml schema from db. davidu David A. Ulevitch 2004-03-31 06:02:42 PST
     Re: [propel] Using Creole to generate xml schema from db. hlellelid Hans Lellelid 2004-03-31 07:16:05 PST
         Re: [propel] Using Creole to generate xml schema from db. davidu David A. Ulevitch 2004-03-31 07:43:09 PST
             Re: [propel] Using Creole to generate xml schema from db. davidu David A. Ulevitch 2004-03-31 07:45:02 PST
                 Re: [propel] Using Creole to generate xml schema from db. hlellelid Hans Lellelid 2004-03-31 07:52:15 PST
             Re: [propel] Using Creole to generate xml schema from db. hlellelid Hans Lellelid 2004-03-31 07:50:26 PST
Messages per page: