Preserving class instance variables in Monticello.

Niko Matsakis niko at alum.mit.edu
Thu Dec 6 11:20:17 UTC 2007


Hello,

I have a project (Pepper) in which we use a few class instance  
variables.  Unfortunately, when we add these classes to the Monticello  
project on Sourceforge, it seems that the class instance variables  
disappear (when the changes are loaded into a fresh image, the class  
instance variables are nil).  Is there a way to preserve those  
instance variables?

Also, we overloaded the method "definition" in our base metaclass so  
as to customize what appears in the System Browser when you visit the  
class definition, so that the additional variables are displayed.   
(i.e., instead of "SuperClass subClass:#ClassName ...", it displays  
custom text of our choosing which omits some fields and adds others).   
Is this the right way to make such a change?


thanks,
Niko



More information about the Squeak-dev mailing list