[V3dot9] Re: Services dans la 3.9-7043

stéphane ducasse ducasse at iam.unibe.ch
Fri Jul 14 17:23:30 UTC 2006


Romain I can add this expression for now in the script
but by design you should fix it (providing a default or something  
like that).
And this is true that getting a different behavior between the file  
list and mcbrowser is a problem
Stef

On 14 juil. 06, at 18:30, Romain Robbes wrote:

> Indeed it behaves differently.
>
> Preferences are not set when you load it with the monticello browser.
>
> The expression:
>
> ServiceRegistry rebuild
>
> must be executed.
> I guess it is executed in a class-side initialize method when you  
> load it using the file list.
>
> So it must be executed manually, or with a postscript, but I don't  
> know how to put a postscript in
> a mcz file.
>
> 	Romain
>
> Il giorno Jul 14, 2006, alle ore 6:09 PM, stéphane ducasse ha scritto:
>
>> You should not use the file list but MCBrowser because this is not  
>> the same loader that is invoked.
>> MCBrowser invokes the one that will be executed when we run a script.
>>
>> stef
>>
>>
>>>
>>> Il giorno Jul 14, 2006, alle ore 5:15 PM, stéphane ducasse ha  
>>> scritto:
>>>
>>>> Romain
>>>>
>>>> When we simply load services-base-rr we cannot use the World menu
>>>> we have a problem with nil and not getting a boolean.
>>>>
>>>
>>> Well, that's weird ... because I downloaded the very latest image  
>>> on the website (3.9-7043),
>>> opened it. And just loaded the mcz I sent you in (simply using  
>>> the file list).  With it loaded, I can
>>> open the world menu without a problem.
>>>
>>>> Marcus is also telling me that we do not have overrides in the  
>>>> image. So we should really avoid them.
>>>> How do we proceed?
>>>
>>> Well, I need to override these methods ... I guess they should be  
>>> moved back to their original categories
>>> after loading?
>>>
>>> 	Romain
>>>
>>>> Stef
>>>>
>>>>
>>>>>
>>>>> Tu me disais qu'il y avait un problème avec le world menu ...  
>>>>> je ne le vois pas.
>>>>> J'ai réessayé avec une image 7043, et ces deux fichiers.
>>>>>
>>>>> Peux-tu me dire si ça marche comme il faut comme cela?
>>>>> (BrowseUnit est juste pour tester, tu dois avoir un bouton en  
>>>>> plus dans le browser quand tu le lance).
>>>>>
>>>>> 	Romain
>>>>>
>>>>> Your files are attached to this message
>>>>>
>>>>> <Services-Base-rr.29.mcz>
>>>>> <BrowseUnit-rr.1.mcz>
>>>>
>>>
>>> --
>>> Romain Robbes
>>> http://romain.robb.es
>>>
>>>
>>>
>>
>
> --
> Romain Robbes
> http://romain.robb.es
>
>
>



More information about the V3dot9 mailing list