[squeak-dev] How to unload features of 'Extending the System': a proposal

Enrico Spinielli enrico.spinielli at googlemail.com
Sun Jul 25 11:42:11 UTC 2010


Hi all,
after having experimented with some features as described in Help ->
Extending the System
I wanted to unload them, but did not find how to.
So I came out with the following:
----------------------
ins := (Installer wiresong project: 'ob').
pkgs :=   #('OmniBrowser'
			'OB-Morphic'
			'OB-Standard'
			'OB-Shout'
			'OB-SUnitIntegration').
pkgs do: [:pkg| ins install: pkg].

pkgs reverseDo: [:pkg| (MCPackage named: pkg) unload].
SystemOrganization removeEmptyCategories.
----------------------


Is there a better way? Is it worth updating 'Extending the System'
(with the caveat when you
unload you have to make sure one of the packages is not needed by
other 'features')?

Feedback and suggestions are of course welcome
Bye
Enrico
-- 
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick



More information about the Squeak-dev mailing list