> On 16 Jun 2017, at 09:24, Sven Van Caekenberghe <s...@stfx.eu> wrote:
> 
> Here is how you can maintain compatibility:
> 
> self environment 
>  at: #SessionManager 
>  ifPresent: [ :manager | manager default registerNetworkClassNamed: self name 
> ]
>  ifAbsent: [ Smalltalk addToStartUpList: self; addToShutDownList: self ]
> 
> I use it for Zinc.

ah yes… that’s better :)

Esteban

> 
>> On 16 Jun 2017, at 09:21, Esteban Lorenzano <esteba...@gmail.com> wrote:
>> 
>> you can add that protocol by yourself as an extension. 
>> you can create a package DrGeo-Pharo6
>> 
>> and add the method, something like: 
>> 
>> addToStartUpList: aClass after: ignoredClass
>>      SessionManager default
>>              registerSystemClassNamed: aClass name
>>              atPriority: 60
>> 
>> then, you load this package as pre-req, in your baseline/configuration.
>> 
>> Esteban
>> 
>> ps: all of this, if you want to have compatibility from P3 to P6, of course 
>> :)
>> 
>>> On 16 Jun 2017, at 09:10, Hilaire <hila...@drgeo.eu> wrote:
>>> 
>>> Hi,
>>> 
>>> When I install DrGeo from its configuration file in Pharo6, I got the
>>> following VM error.
>>> 
>>> I guess the addStartUpList protocol is obsolete.
>>> 
>>> One option is to modify Dr. Geo code in Pharo3 to remove startup
>>> activation, save in the repo, then load newer code in Pharo6, and get it
>>> fixed.
>>> 
>>> Any suggestion, to do directly from Pharo6 to prevent unnecessary code
>>> changes in DrGeo repo?
>>> 
>>> Thanks
>>> 
>>> Hilaire
>>> 
>>> -- 
>>> Dr. Geo
>>> http://drgeo.eu
>>> <DrGeoLoadingInPharo6.png>
>> 
>> 
> 
> 


Reply via email to