[squeak-dev] Updated ConfigurationOfOCompletion for Squeak 4.1 and 4.2

Dale Henrichs dhenrich at vmware.com
Tue Feb 8 21:19:41 UTC 2011


On 02/08/2011 01:00 PM, Levente Uzonyi wrote:
> On Tue, 8 Feb 2011, Dale Henrichs wrote:
>
>> On 02/08/2011 12:14 PM, Levente Uzonyi wrote:
>>> Hi,
>>>
>>> I updated the Squeak related parts of ConfigurationOfOCompletion which is
>>> available at http://squeaksource.com/MetacelloRepository . The new
>>> configuration allows you to load the proper set of packages required by
>>> OCompletition to your image. From clean Squeak 4.1 and 4.2 images you can
>>> use the following snippet to load OCompletion:
>>>
>>> Installer ss project: 'MetacelloRepository'; install:
>>> 'ConfigurationOfOCompletion'.
>>> #(project stableVersion load)
>>>    	inject: (Smalltalk at: #ConfigurationOfOCompletion)
>>>    	into: [ :object :selector | object perform: selector ].
>>>
>>> Note that this is the first time I'm changing a configuration, so it may
>>> contain bugs. :)
>>>
>>>
>>> Cheers,
>>> Levente
>>>
>>>
>>
>> Levente,
>>
>> I don't know if you did this or not, but you can check for
>> configuration-related mistakes using:
>>
>>   (MetacelloToolBox
>> 	validateConfiguration: ConfigurationOfOCompletion) inspect
>
> No, I didn't but thanks for the tip. I introduced three Critical Warnings,
> so now there are eleven of them, but none affect the versions that I
> changed or are used by Pharo. So I think the configuration is fine.
>
>
> Levente

Levente,

There is actually a way to exclude validation issues, similar to the 
idea of expected errors for sunit, but I won't bother you with the 
details right now:) Critical Warnings can be ignored if you understand 
the consequences...

Dale



More information about the Squeak-dev mailing list