Monticello and pool dictionaries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Monticello and pool dictionaries

NorbertHartl
Hi,

I try to make a monticello package from a squeakmap
package. The package is RemoteFrameBuffer. I created
the package and adusted the categories of all extension
methods. The monticello package includes everything
what the changeset from squeakmap does.

In the class RFBServer there is pool dictionary defined.
If I install the package from squeakmap there appears
a dialog asking if I like to add the pool dictionary.
Installing the package from monticello opens also a
dialog but an dialog for an unresolved dependency.
It cannot load the RFBServer class as long as the pool
dictionary isn't there.

Looking in the cache from squeakmap I found the changeset
for the RemoteFrameBuffer. Are squeakmap packages only
changesets? I thought I may find a kind of preamble in
the package which initializes the pool dictionary.

What is the best way to handle this situation with
monticello?  I don't know how monticello handles
dependencies. As far as I understand pool dictionaries
they can be created by invoking

Smalltalk at: #dictName put: Dictionary new

Is this right? Do I need to create pool dictionary
manually in an initialize methods?

thanks in advance,

Norbert



Reply | Threaded
Open this post in threaded view
|

Re: Monticello and pool dictionaries

Bert Freudenberg
On Jan 28, 2007, at 12:21 , Norbert Hartl wrote:

> What is the best way to handle this situation with
> monticello?  I don't know how monticello handles
> dependencies. As far as I understand pool dictionaries
> they can be created by invoking
>
> Smalltalk at: #dictName put: Dictionary new
>
> Is this right? Do I need to create pool dictionary
> manually in an initialize methods?

No, this is the "old" way of making pool dicts. Nowadays they are  
just subclasses of SharedPool, each binding is simply a class  
variable. Monticello handles classes just fine.

- Bert -