How to unload features of 'Extending the System': a proposal

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

How to unload features of 'Extending the System': a proposal

espin
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

Reply | Threaded
Open this post in threaded view
|

Re: How to unload features of 'Extending the System': a proposal

Hannes Hirzel
On 7/25/10, Enrico Spinielli <[hidden email]> wrote:

> 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')?

I think it is worth updating it.

--Hannes