Versioning changes to pre-existing classes with Monticello

Simon Kirk Simon.Kirk at pinesoft.co.uk
Fri Nov 11 13:58:39 UTC 2005


Sorry, another thing: Given that there is an existing ODBCConstants pool 
dictionary for the ODBCConnection class that is an actual Dictionary 
rather than a SharedPool, how would I go about refactoring this into a 
SharedPool given that I can't seem to find the actual class hierarchy of 
the ODBCConstants pool anywhere? I can get to the Dictionary by 
highlighting the name of it in the definition of ODBCConnection and 
inspecting it, but that's as far as I can go.

Cheers again,
S

Simon Kirk wrote:

> Hi Bert - thanks for the answer, I kind of understand it. However I'm 
> very much a Squeak newbie, so I'm a bit confused as to how the 
> SharedPool system works. I can see the FFIConstants as an example, but 
> I haven't got a clue about what kind of standards to adhere to, how to 
> set the new constants pool up, etc. Is there any kind of documentation 
> you can point me towards to read up on this?
>
> Thanks,
> S
>
> Bert Freudenberg wrote:
>
>> Am 11.11.2005 um 14:35 schrieb Simon Kirk:
>>
>>> Hello again all.
>>>
>>> As part of my recent ODBC work I've added a number of ODBC  
>>> constants to the pool dictionary of the ODBCConnection class from  
>>> ODBC-Core. I've also changed some methods in various ways. I can  
>>> version those method changes with monticello, but how can I go  
>>> about versioning the new constants in the pool dictionary into my  
>>> monticello repository as well?
>>
>>
>>
>> Pool variables are ordinary class variables of a subclass of  
>> SharedPool. Just initialize the class variables from the class  
>> #initialize method as usual.
>>
>> If you use old-style pools (dictionaries) you should change them to  
>> proper SharedPools.
>>
>> - Bert -
>>
>>
>>
>>
>>
>
>
> This message has been scanned for viruses by BlackSpider MailControl - 
> www.blackspider.com
>
>
>
>
>



More information about the Squeak-dev mailing list