Hi Edgar,

On Thu, Apr 26, 2012 at 4:46 PM, Edgar De Cleene <edgardec2005@gmail.com> wrote:



El 4/26/12 10:19 AM, "Guillermo Polito" <guillermopolito@gmail.com> escribi�:

Now it is fixed :).� Tested it in a clean 2.0 image and worked :).


Guillermo:
I like duplicate all steps.
Dowloaded a clean all in one 2.0.
You have a script for loading and test Hazelnut and all your new work ?

The only stable code part of the project is this :P.� The other is kind of experimental yet, and is on another repository...
So, for the image writer the script is:

" load "
Gofer it
��� squeaksource3: 'ImageWriter';
��� package: 'ImageWriter-Core';
��� package: 'ImageWriter-ObjectFormats';
��� package: 'ImageWriter-Tests';
��� load

" use the image writer "
� HzImageWriter new
��� format: HzCogImageFormat new; "or HzInterpreterImageFormat new"
��� imageFileName: 'someFile.image';
��� onInitializeDo: [ "Some initialization?" ];�� "this is optional, probably the same as an startup script, probably nonsense"
��� writeImage: Smalltalk� "Yes, we provide the our lovely global Smalltak, but any SmalltalkImage instance could be"



Cheers

Edgar