Is Gofer preloaded in Squeak? The #ensureMetacello is intended to work on all platforms. For earlier versions of Pharo, gofer had to be loaded before Metacello could be loaded and if Gofer isn't preloaded in Squeak, then we still have that problem. I guess I should say that _I_ have that problem, because I am interested in configurations that can be used with any Smalltalk that supports Monticello:) Dale Tudor Girba wrote:
Indeed, now we could add this method 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