[DGD] preserving vars after lib recompile

Noah Gibbs noah_gibbs at yahoo.com
Tue Sep 16 18:30:32 CEST 2008


  This is a hard problem.  The Kernel lib solves it by not allowing data in libraries if I remember correctly.  You could also have upgrade scripts that saved off the data and reloaded it, but that will be ugly -- every object will have to maintain those scripts or upgrading will lose data...

--- On Tue, 9/16/08, chris . <psych_mayo at hotmail.com> wrote:

> From: chris . <psych_mayo at hotmail.com>
> Subject: [DGD] preserving vars after lib recompile
> To: dgd at dworkin.nl
> Date: Tuesday, September 16, 2008, 8:17 AM
> My understanding is that when i use an objectd to recompile
> a lib, all the dependent files would be destructed and than
> recompiled/recloned.  I want to preserve variables existing
> in objects, whether or not they exist in that object or in a
> lib the object inherits.
> This issue has been discussed or worked on before i
> presume, so i guess my first thought is to ask what other
> people have done.
> My ideas on the topic all involve writing an upgrade script
> of some sort, for each object with variables to be saved. 
> Ive ruled out using save/restore.  I dont know of a way to
> check what variables exist for a given object.
> Thanks.
> chris
> 
> 
> 
> 
> _________________________________________________________________
> See how Windows connects the people, information, and fun
> that are part of your life.
> http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
> ___________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd


      



More information about the DGD mailing list