Gofer is the base class with which you can load everything else. So, why would it not make sense to have a utility method to load Metacello from Gofer? Cheers, Doru On 20 Aug 2010, at 23:17, Mariano Martinez Peck wrote:
On Fri, Aug 20, 2010 at 4:19 PM, Tudor Girba <tudor.girba@gmail.com> wrote: Indeed, now we could add this method in Gofer.
I didn't understand. Which method ? why in Gofer?
Cheers, Doru
On 20 Aug 2010, at 16:01, Mariano Martinez Peck wrote:
On Fri, Aug 20, 2010 at 3:54 PM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
The problem is in ConfigurationOfRPackage as in #ensureMetacello is like this:
ensureMetacello Smalltalk at: #MetacelloProject ifAbsent: [ Gofer new disableRepositoryErrors; url: 'http://seaside.gemstone.com/ss/metacello'; package: 'ConfigurationOfMetacello'; load. (Smalltalk at: #ConfigurationOfMetacello) project latestVersion load: #('default' 'UI') ]
I hate the fact that we should copy all the code around.... what a crap.
This was discussed several, severaaaaal times. As I remember the problem was that otherwise you class depends on a base class that should be included in the image you are working on. But I guess we don't have problem to add such base class in PharoCore...if we have Gofer..
If you see, it is loading #('default' 'UI') of metacello..... UI - OB.
change that to #('default') and wala
BTW, I would use the latest recommended #ensureMetacello:
http://code.google.com/p/metacello/wiki/EnsureMetacello
cheers
mariano
And stuck because OB does not load in 1.2 so I lost one hour......
boring.
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com
"Live like you mean it."
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com "Every successful trip needs a suitable vehicle."