Yes this is cool idea. Bla unload = unload myself and disappear
| 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project