[squeak-dev] [ANN] Unload Traits script
Matthew Fulmer
tapplek at gmail.com
Sat May 10 19:18:47 UTC 2008
I wrote a script that removes traits from a 3.9 or 3.8 image:
http://installer.pbwiki.org/UnloadTraits
In an image with Installer (preferably LPF), do:
Installer install: 'UnloadTraits'
I tested this in 3.10, 3.9, and 3.9.1
What it does:
- Stop all trait activity
- Recompile all classes into the old format
- Remove all traits from the system
- Get rid of pointers to traits or traits-related classes
- Remove/modify lots of methods that understand traits
functionality
- Unload the traits package
- Install 3 stub methods so that Monticello versions descended
from 3.9 still work
This is not a modular solution, but it does make a 3.10 or 3.9
system with no traits around anywhere, and the resulting image
is quite stable. I don't intend to make Traits loadable right
now, but if you want to, I can answer questions.
Have fun
--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
More information about the Squeak-dev
mailing list
|