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 Fuel.
yes or submitted a fix :-)On 21 September 2012 16:30, Reza Razavi <razavi@acm.org> wrote:
_______________________________________________Hi,
When loading "Pier-Pharo-Persistency" in a Pharo 1.4, the following warning is raised:
This package depends on the following classes:
ImageSegment
You must resolve these dependencies before you will be able to load these definitions:
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?
Cheers,
Reza
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki