[squeak-dev] Load instructions (Re: The Inbox: Morphic-hjh.424.mcz)

Bert Freudenberg bert at freudenbergs.de
Thu Apr 22 12:26:19 UTC 2010


On 22.04.2010, at 13:37, Hannes Hirzel wrote:
> 
> On 4/22/10, Edgar J. De Cleene <edgardec2005 at gmail.com> wrote:
>> 
>> 
>> 
>> On 4/22/10 2:00 AM, "Andreas Raab" <andreas.raab at gmx.de> wrote:
>> 
>>> Hi -
>>> 
>>> I just wanted to point out that I think the idea below is a *brilliant*
>>> interim solution for our current lack of a decent package loader. At the
>>> very least, we can give people starting points on how to load certain
>>> packages. I've added instructions on how to load Installer, Omnibrowser
>>> and Refactory Engine. Can someone knowledgable perhaps extend this to
>>> cover Seaside (hopefully both 2.8 and 3.0) as well? Perhaps Magma, too?
>>> 
>>> BTW, if you edit the workspace, there's a "trick" to it. You should
>>> enable syntax highlighting so that the contents is properly styled when
>>> you accept the method. This requires an updated trunk image since I've
>>> fixed a few issues there.
>>> 
>>> (I also think we should bring this workspace in particular into 4.1)
>>> 
>>> Cheers,
>>>   - Andreas
>> 
>> See SqueakLight3, use my modified CodeLoader .
>> Again I post here
>> 
>> Example of loading my HV
>> | loader |
>>    loader := CodeLoader new.
>>    loader baseURL: 'http://www.squeaksource.com/Ladrillos/'.
>>    loader installLastMonticelloFor:  #('DynamicBindings'  'KomServices'
>> 'KomHttpServer' 'HTML' ' Network-HTML' ).
>> 
>> 
>> Polish a bit and we don't need any more...
>> 
>> Edgar
>> 
> 
> 
> I was not aware that there is another code loader class besides
> 'Installer'. How do they differ?

CodeLoader has a very specific purpose, primarily for loading Etoys projects. It is not meant to be used for anything else.

Edgar made some extensions for it to be used more like Installer, but we won't take that into the trunk. We have Installer already, there is no need for duplicating its services into a class with a different purpose.

If Installer is insufficient to install something, *that* is where it would be prudent to fix.

- Bert -





More information about the Squeak-dev mailing list