On Wed, Jan 27, 2010 at 8:34 PM, Dale Henrichs
<[email protected]>wrote:

>
> ----- "Mariano Martinez Peck" <[email protected]> wrote:
>
> | Something like this:
> |
> |     #(Metacello-Core Metacello-MC Metacello-Platform .... )
> |         do: [ :each | (MCPackage named: each) unload ].
> |
>
> For unloading just Metacello, this gofer script works:
>
>  | gofer |
>  gofer := Gofer new.
>  MCWorkingCopy allManagers do: [:wc |
>    (wc packageName beginsWith: 'Metacello')
>      ifTrue: [ gofer package: wc packageName ]].
>  gofer unload.
>


Even better :)

So...could that little piece of code be part of some method on Metacello ?
or those who want that just need to evaluate that or put it, for example, as
class side method in their own Configuration ?   waybe we can add it to the
configuartion template ?   I don't know if unload stuff will be useful for
people...I guess it will, but I am not sure.

Cheers

Mariano


>
> Dale
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to