[Newbies] SAR Files

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Sat May 24 11:24:15 UTC 2008




El 5/23/08 10:00 PM, "Rob Rothwell" <r.j.rothwell at gmail.com> escribió:

> I *think* if you open a file list with the World Menu->open->file list and
> browse to your SAR file, an "install" button will appear in the file list.
> 
> Just press the button, and hopefully everything will work!
> 
> Rob


And you could drag and drop into any Squeak 3.8 and newer.
A menu like this shows.

The .sar files is like smart install, you could control different actions
for different squeaks, made your dream about which packages and which
versions, add complementary files like .jpg,.gif,.png or .wav, you named.

You could find small ones and big and complex ones and trust me its the only
way you become your own Master and survive the raising number of Squeak
versions.

If the .sar have "preamble", all this code is executed first.
Then all code files ,st .cs, .mcz, etc, was loaded in order (if in preamble
you don't have some different.
And if you have a "postscript", this code is executed last.


Here you have a puzzle.
http://wiki.squeak.org/squeak/5861

I have variants in the preamble like this

| misFotos listaArchivos member form str |
Smalltalk version  = 'SqueakLight' ifTrue:[ self fileInMemberNamed:
'MixedCurves.2.cs'.
    self fileInMemberNamed: 'MinimalSound.2.cs'].

self fileInMemberNamed: 'Morphic-Puzzle.47.cs'.

member _ self memberNamed: 'CatClubBallooning.jpg'.
PuzzleMorph foto: (Form fromBinaryStream: member contentStream binary).
member _ self memberNamed: 'Taunt011.wav'.
PuzzleMorph sonido: (member contentStream binary).
PuzzleMorph allPieces


So I develop in my own develop image, with all my tools and then made a .sar
and could run into my SqueakLight of 3.7 mb, close and give a RTS (Run Time
System) if I don't wish client knows is made in Squeak.

Off course , you could do any serious and not only fun...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 2.png
Type: application/octet-stream
Size: 4321 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080524/db59c713/Picture2.obj


More information about the Beginners mailing list