How to migrate instances when loading new change set?
Bob Arning
arning at charm.net
Sat Feb 23 20:40:08 UTC 2002
Ned,
On Sat, 23 Feb 2002 11:02:44 -0800 Ned Konz <ned at bike-nomad.com> wrote:
>But I found that this method was not called when I loaded a project (perhaps
>because the shape of the instances was the same?).
- add a method #classVersion to ConstraintMorph class and have it return something greater than zero.
>* load old projects into images with the new code already
>loaded and change the instances in the loaded projects
- do the above and all should work
>* load the new code into old images and convert the instances
- as long as you don't delete important instance variables, just put something in the change set postscript to fix them up.
Cheers,
Bob
More information about the Squeak-dev
mailing list
|