To find out about the instance variables you have to compare the code,
i don't remember these changes of the top of my head.
There is something else you might to try: There should be a class
PRMigrations (or similar, I don't have an image to verify) with a
bunch of class side methods that I used to bring the objects along
from the first version of Pier to today. Run #initialize after import
to give it a try. Not sure it handels well a non-incremental change
like in your case, but it is relatively safe to run as it does all
kind of verifications to validate and fix the model.
Lukas
On Wednesday, 27 April 2011, Davorin Rusevljan
<davorin.rusevljan(a)gmail.com> wrote:
Thanks for tip regarding sixx. Anyway, what bothers me
is embeded inst var of PRLink that existed in both 1.1 and 1.2. But 1.2 expects it to be
true or false, while my 1.1 PRLinks have arrays in them that contain some data. Now I
could overwrite those arrays with true or false, but what about information that those
arrays contained should I store it somewhere else?
So the question is more what was meaning of embeded inst var before, what is now and how
should they be logically migrated?
Thanks,
Davorin Rusevljan
On Apr 26, 2011 10:54 PM, "Lukas Renggli" <renggli(a)gmail.com> wrote:
Do you have some advice what to do with embeded
inst vars of PRLink(s), 1.2
expects them to be ...You have to figure out how to move the contents into the right
variables using #instVarAt: and #instVarAt:put:. However, in your case
it is probably easier if you use SIXX -- or try to adapt the
import/export code to use SmartRefStream -- that both can handle
instance variable changes. Then you only need to fix the "new"
variables.
Lukas
--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
Magritte, Pier a...