Advice on squeaklets needed
bert at isg.cs.uni-magdeburg.de
Tue Dec 19 13:12:03 UTC 2000
On Tue, 19 Dec 2000, I wrote:
> Yes, that should be possible, and it should be the most efficient way. Use
> something like
> (Project named: 'My Squeaklet')
> exportSegmentWithCatagories: #('Squeaklets-My')
> classes: #(HelperClass)
> fileName: 'mySqueaklet.extSeg'
> directory: FileDirectory default
> where 'My Squeaklet' is the name of your project, 'Squeaklets-My' is the
> category of all your application classe, HelperClass is another class not
> in that category. The result should be an image segment containing all
> your application classes and data (including images).
Slight correction - you have to give an array of classes, so that would be
Also, in 2.8 the message was just exportSegmentWithCatagories:classes:, it
chose the filename itself and did not compress the segment.
> The loader script would load that segment and install it, then enter the
Another slight correction - ProjectViewMorph does all that for you. So the
loader script merely becomes this:
openFromFile: (FileStream requestURLStream: 'mySqueaklet.extSeg')
More information about the Squeak-dev