Just in case someone is interested... Based on Yanni's Fuel Persistency
Strategy, I did a VERY simple tool to export/import Pier kernels using
You need to install Fuel first (if you are using Pharo 2.0 it is already
there) and then:
Then check the methods of PRFuelExporterImporter.
On Fri, Sep 21, 2012 at 7:21 PM, Nick Ager <nick.ager(a)gmail.com> wrote:
yes or submitted a fix :-)
On 21 September 2012 16:30, Reza Razavi <razavi(a)acm.org> wrote:
> When loading "Pier-Pharo-Persistency" in a Pharo 1.4, the following
> warning is raised:
> This package depends on the following classes:
> You must resolve these dependencies before you will be able to load these
> writeKernel:on: *
> Select Proceed to continue, or close this window to cancel the operation.
> This is due to a reference to ImageSegment in the following method:
> PRSegmentPersistency >> serialize: aString
> | stream pointers |
> stream := self directory forceNewFileNamed: aString.
> pointers := [ [ ImageSegment new writeKernel: self kernel on: stream
> ensure: [ stream close ] ] on: Exception do: [ :error | nil ].
> (pointers isNil or: [ pointers anySatisfy: [ :each | (each isLiteral
> or: [ each isVariableBinding ]) not ] ])
> ifTrue: [ self directory deleteFileNamed: aString ifAbsent: [ ] ]
> Would this be worthy to fill a bug report?
> Magritte, Pier and Related Tools ...
Magritte, Pier and Related Tools ...