Login  Register

Re: Moving data into new package/image version

Posted by Mariano Martinez Peck on May 17, 2012; 7:40pm
URL: https://forum.world.st/Moving-data-into-new-package-image-version-tp4628820p4630705.html



On Thu, May 17, 2012 at 9:37 PM, Yanni Chiu <[hidden email]> wrote:
On 16/05/12 4:37 PM, Sean P. DeNigris wrote:

Mariano Martinez Peck wrote

Sorry, I don't have ideas of how to solve that.
I ended up using OB to rename the classes in the old image to match
the new class names in the new image, then serialized with
ReferenceStream, then deserialized in the new image.

When I don't have the old image anymore, I create a subclass in the new
image (e.g. FileReference subclass: FSReference), do the import, then
fix up the class references.


wow..how many good ideas :)
 
Mariano - I think the class rename feature is not available in Fuel-1.7
which is the current stable release.

That's correct.
 
Is there a target date for 1.8 to
become stable?


this week :)  And we will include it in Pharo 2.0 also. 



--
Mariano
http://marianopeck.wordpress.com