[squeak-dev] Saving a project's windows
Chris Muller
asqueaker at gmail.com
Mon May 23 16:07:53 UTC 2016
Hi Eliot, the Ma Serializer has been able to serialize Squeak projects
since the 3.x days.
Load the (head) version of "MaBase" from SqueakMap. Then:
MaObjectSerializer new
fileOut: yourProject
toFileNamed: fileNameString
in: someFileDirectory
You can then file it in using:
MaObjectSerializer fileIn: (someFileDirectory entryAt: fileNameString)
If you look at MaObjectSerializer>>#setUpPreAndPostProcessing, you can
see I have pre/post hooks for saving instances of Projects. I have
not tested it in a while, but I know it DID work...
HTH.
On Mon, May 23, 2016 at 5:07 AM, gettimothy <gettimothy at zoho.com> wrote:
> I have been using Squeak since the 3.x days and have never successfully
> saved a project. Back then a 'grid' would mask the World and then nothing
> would happen for hours.....
>
> ---- On Sun, 22 May 2016 21:20:00 -0400 Eliot Miranda
> <eliot.miranda at gmail.com> wrote ----
>
> Hi All,
>
> I'd love to be able to save just the windows form a project. Ideally I'd
> save also the changes from dirty packages, but that's basically all. I'm
> trying the PUBLISH items in the Project (preview) window, and it either
> tries to create a huge word segment (the first PUBLISH option) or tries to
> compute a relevant compactClassesArray (the second option), which should be
> empty and if I make it empty, it looks like the Vm locks up in computing the
> segment. Has anyone had any success saving projects with Spur? Has anyone
> by some miracle done just the saving of project windows? Any hints on
> avoiding the size explosion with the first PUBLISH option?
>
> _,,,^..^,,,_
> best, Eliot
>
>
>
>
>
>
More information about the Squeak-dev
mailing list
|