You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Stanley Smith <st...@hotmail.com> on 2001/11/12 21:45:03 UTC

Best Way to Change the Object Model

Hi -

We created a turbine application with an initial object model and started 
our development.  Then, as every project goes, we need to make some changes 
to the Object Model.  Since we orginally did this as part of the project 
creation we don't want to repeat that process as we want to retain the other 
development that we have done for the project.

My question is what is the best practice/process for making object model 
changes after the initial creation of a Turbine project?

Thanks!
Stan



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Best Way to Change the Object Model

Posted by Heiko Braun <he...@fork.de>.
The torque generated classes are seperated into
BaseFoo and Foo, per default. As long as you keep your extensions 
in the Foo classes, you should not have any problems re-running ant init.
Torque leaves these sources untouched.

This way you just have to take care of your data, i.e. backupping it before.

hth,

-- 

 heiko braun, fork unstable media
 http://www.unstablemedia.com


On Mon, 12 Nov 2001 14:45:03 -0600
"Stanley Smith" <st...@hotmail.com> wrote:

> Hi -
> 
> We created a turbine application with an initial object model and started 
> our development.  Then, as every project goes, we need to make some changes 
> to the Object Model.  Since we orginally did this as part of the project 
> creation we don't want to repeat that process as we want to retain the other 
> development that we have done for the project.
> 
> My question is what is the best practice/process for making object model 
> changes after the initial creation of a Turbine project?
> 
> Thanks!
> Stan
> 
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>