Hey!

We don't have proper documentation about serializing classes. This
feature is not included into the default configuration that comes in
Pharo 2.0. I wrote this (i guess) self-explaining code snippet and
will add it to doc:

http://ws.stfx.eu/CGZB6XROFII0

cheers
Martin



On Mon, Apr 15, 2013 at 11:05 AM, Camillo Bruni <camillobr...@gmail.com> wrote:
> I am hacking on the monkey and I want to pass test results fuelized
> from one image to another. Fuel does not serialize the classes (for good 
> reason).
>
> How can I add that?
>
> I did the following approach which didn't work:
>
> 1. use a frozen SmalltalkDictionary for the analyzer
> 2. load some code
> 3. run some tests
> 4. serialize the tests results, include newly added classes (since step 1)
>
> ==========================================================================
>
> serializer := FLSerializer newDefault.
> "freeze the current environment and thus serialize all new classes"
> serializer analyzer globalEnvironment: self class environment copy.
>
> ==========================================================================
>
> What is the proper way to do this?
>
> Thanks in advance,
> camillo

Reply via email to