[squeak-dev] The Trunk: Collections-edc.314.mcz

Igor Stasenko siguctua at gmail.com
Thu Feb 25 13:02:22 UTC 2010

On 25 February 2010 11:52, Edgar J. De Cleene <edgardec2001 at yahoo.com.ar> wrote:
> On 2/24/10 1:10 PM, "Levente Uzonyi" <leves at elte.hu> wrote:
>> I doubt that other code gets less critic.
>> If you're unsure that your code is generally useful or it may break some
>> stuff, just upload it to the Inbox and write a mail here about the
>> changes your code does. You can even add an Installer script to your mail,
>> so others can load the packages easily.
> I send ,no feedback
>> Installer is a better tool to load these IMHO.
>> Levente
> But Installer  and all the others loader should be unloaded with Smalltalk
> unloadAllKnownPackages.
> Smalltalk unloadAllKnownPackages. Should be the first we do for having the
> next .image (SL3, 4.1, Mendieta)
> You could load Installer if suits best your needs.
> I insist CodeLoader is useful and more clear as you put the repositories and
> exact versions.

This code

|loader |
  loader _ CodeLoader new.
  loader baseURL: 'http://www.squeaksource.com/Ladrillos/'.
  loader loadSourceFiles: #('Scamper-edc.13.mcz' );installSourceFiles.

doesn't works in my image
a collection, which it tries to read starts from
which is not a source file, but contents of a .zip file (which mcz is).

I don't know why you insist on not using Installer, but insist on
using CodeLoader,
which as to me is hugely inferior tool.

Why then not just use something like:

MczInstaller installStream:
'http://www.squeaksource.com/Ladrillos/Scamper-edc.13.mcz' asUrl
retrieveContents contentStream

and throw out useless (CodeLoader) stuff from image??

> Edgar

Best regards,
Igor Stasenko AKA sig.

More information about the Squeak-dev mailing list