Seeking to automate generation the cayenne schema

2006-04-04 Thread Craig Turner
In short: is there a command-line or API-driven way of creating a cayenne configuration by pointing at an existing schema or is the modeler the only supported approach? Cgen should be OK for generating the classes, but I'm interested in an earlier step - generating the XML configuration

Generating classes in 1.1

2006-03-28 Thread Craig Turner
When I use cayenne modeler to try and create classes in Cayenne 1.1 I'm getting an error similar to that which is reported at http://www.objectstyle.org/cayenne/lists/cayenne-devel/2005/11/.html although I don't get any output to my console. I've tried with the nightly build and get this

Re: Generating classes in 1.1

2006-03-28 Thread Craig Turner
Craig Turner wrote: When I use cayenne modeler to try and create classes in Cayenne 1.1 I'm getting an error similar to that which is reported at http://www.objectstyle.org/cayenne/lists/cayenne-devel/2005/11/.html although I don't get any output to my console. This was incorrect. It's

Re: Generating classes in 1.1

2006-03-28 Thread Craig Turner
Andrus Adamchik wrote: Hi Craig, Can you delete ~/.cayenne/ directory and try again. If you still see the problem, please open a bug report. One request though - if you are testing against 1.1 or 1.2, please use the latest versions (i.e. 1.1.4 and 1.2M12 respectively). Affects 1.2M12