> -----Original Message----- > From: Michael C. Starkie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 12:17 PM > To: [EMAIL PROTECTED] > Subject: newapp difficulties changing schema > > > re: turbine-2.1 on Linux. > > It's taking me too long to learn how to create a new turbine > application from scratch. The only way to do this, as far as > I can tell, is to re-engineer the sample "newapp" and learn as you go. > > A particular problem exists for new users who want to modify > the newapp-schema.xml file. It seems that the torque utility > has already created the peer java source files for the old > schema (because the tutorial asks you to run "ant" in the tdk > home directory as a first step)
i used a new schema file, MyNewApp-schema.xml > > If I modify the schema I get runtime exceptions when trying > to do an insert because turbine is looking for a class or > method that contains "Rfd", a reference to the primary key in > the old schema. > > If I remove the torque generated java files in the modules > directory I can't even compile the newapp application. > > It appears my only solution is to modify the torque generated > files which defeats the purpose of using turbine in the first place. > > WHAT DO I NEED TO DO TO SET UP TORQUE SO IT RECOGNIZES MY > SCHEMA CHANGES? create a schema file, and run ant project-om, then it'll only create the object modle classes. > > -- or -- > > WHERE CAN I LEARN HOW TO CREATE A NEW TURBINE APP FROM SCRATCH? welcome trials and tribulations of the TDK! MOST excellent tool once you get to know it. > > thanks, > Mike > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
