Ben had to define the method on the class RPackage:

forceRefreshClassDefinedSelectors
        | dict |
        
        dict := Dictionary new.
        self definedClasses do: [ :e || set |
                set := Set new.
                e protocols 
                        select: [  :p  | (p beginsWith: '*') not ] 
                        thenDo: [ :p | (e methodsInProtocol: p) do: [ :m | set 
add: m selector ] ].
                dict at: e name put:set ].
        classDefinedSelectors := dict

Alexandre


On Jan 15, 2014, at 12:59 PM, Benjamin <benjamin.vanryseghem.ph...@gmail.com> 
wrote:

> We are also facing some RPackage cache not in sync anymore with system 
> leading to the impossibility to commit the code :(
> 
> Ben
> 
> On 15 Jan 2014, at 12:56, Goubier Thierry <thierry.goub...@cea.fr> wrote:
> 
>> 
>> 
>> Le 15/01/2014 16:46, Alexandre Bergel a écrit :
>>>> Do you have an issue on that? Or does it happens just when moving classes 
>>>> from any package to another?
>>> 
>>> I do not know. I do not see on https://pharo.fogbugz.comhow I can list 
>>> issues that contains the RPackage and that are still open.
>>> 
>>> The problems we are facing usually involves having more than one browser 
>>> opened, dragging classes from one browser to another browser. Hard to be 
>>> more accurate because students are calling me to the rescue when they are 
>>> already in the mess. We can put images online if this help.
>> 
>> Ok, this could be in Nautilus.
>> 
>> I was drag and dropping in AltBrowser and couldn't see anything wrong, but 
>> I'm not exercising the same code paths on RPackage than Nautilus does.
>> 
>> As far as AltBrowser goes, recompiling the class with a new system category 
>> is picked up fine (apart from the disappearing tag).
>> 
>> Thierry
>> 
>>> Alexandre
>>> 
>>> 
>>>> 
>>>> Thierry
>>>> 
>>>> Le 15/01/2014 16:34, Alexandre Bergel a écrit :
>>>>> Hi!
>>>>> 
>>>>> We are constantly facing problems when moving classes between packages. 
>>>>> This is highly discouraging. This involves tricky parts of the system 
>>>>> that both difficult to understand and to debug.
>>>>> 
>>>>> Alexandre
>>>>> 
>>>> 
>>>> --
>>>> Thierry Goubier
>>>> CEA list
>>>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>>>> 91191 Gif sur Yvette Cedex
>>>> France
>>>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>> 
>> 
>> -- 
>> Thierry Goubier
>> CEA list
>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>> 91191 Gif sur Yvette Cedex
>> France
>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to