[Pharo-project] [Metacello] Re: loading groups with metacello

Dale Henrichs dhenrich at vmware.com
Fri Oct 1 15:23:42 EDT 2010


Mariano Martinez Peck wrote:
> 
> 
> On Fri, Oct 1, 2010 at 7:13 PM, Dale Henrichs <dhenrich at vmware.com 
> <mailto:dhenrich at vmware.com>> wrote:
> 
>     Mariano Martinez Peck wrote:
> 
> 
> 
>         On Fri, Oct 1, 2010 at 2:16 PM, Veronica Isabel Uquillas Gomez
>         <vuquilla at vub.ac.be <mailto:vuquilla at vub.ac.be>
>         <mailto:vuquilla at vub.ac.be <mailto:vuquilla at vub.ac.be>>> wrote:
> 
>         Hi Mariano,
> 
>         You already saw my problem.
> 
>         With this you can check what is happening: (ConfigurationOfGlamour
>         project version: 'default') record: #('Core' 'Tests' 'Extras')
> 
> 
>         I don't understand why this loads Grease for example. Dale any idea?
>         I checked loadDirective but I didn't understand.
> 
>         Cheers
> 
>         Mariano
> 
> 
>         all the pre-requisites are being loaded and not only the groups.
> 
> 
>         Regards, Veronica
>         _______________________________________________ Pharo-project
>         mailing list Pharo-project at lists.gforge.inria.fr
>         <mailto:Pharo-project at lists.gforge.inria.fr>
>         <mailto:Pharo-project at lists.gforge.inria.fr
>         <mailto:Pharo-project at lists.gforge.inria.fr>>
>         http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> 
>     Okay, Here's the printString of the loadDirectives:
> 
>     linear load :
>      linear load : default [ConfigurationOfGlamour]
>        load : ConfigurationOfGrease
>      linear load : default [ConfigurationOfGlamour]
>        load : ConfigurationOfMondrian
>      atomic load : default [ConfigurationOfGlamour]
>        load : Glamour-Announcements
>        load : Glamour-Helpers
>        load : Glamour-Core
>        load : Glamour-Presentations
>        load : Glamour-Browsers
>        load : Glamour-Tests-Core
>        load : Glamour-Morphic-Theme
>        load : Glamour-Examples
>        load : Glamour-Tools
>        linear load : default [ConfigurationOfMondrian]
>          load : ConfigurationOfHealthReportProducer
>        linear load : default [ConfigurationOfMondrian]
>          load : ConfigurationOfProfStef
>        atomic load : default [ConfigurationOfMondrian]
>          linear load : 1.3 [ConfigurationOfProfStef]
>            load : ConfigurationOfShout
>          linear load : 1.3 [ConfigurationOfProfStef]
>            linear load : 1.1.1 [ConfigurationOfShout]
>              load : Shout-lr.90
>              load : ShoutWorkspace.pharo-1-1-SeanDeNigris.6
>            load : ProfStef-Core-LaurentLaffont.11
>            load : ProfStefBrowser-LaurentLaffont.26
>            load : ProfStef-Tests-LaurentLaffont.8
>            load : ProfStef-Help-LaurentLaffont.1
>          load : Mondrian
>          load : CollectionExtensions
>          atomic load : 0.1-baseline [ConfigurationOfHealthReportProducer]
>            load : HealthReportProducer
>        load : Glamour-Scripting
>        linear load : 1.0-alpha9.1 [ConfigurationOfGrease]
>          load : ConfigurationOfRefactoringBrowser
>        linear load : 1.0-alpha9.1 [ConfigurationOfGrease]
>          load : Grease-Core-lr.37
>          load : Grease-Pharo-Core-jok.18
>          linear load : 1.3 [ConfigurationOfRefactoringBrowser]
>            load : AST-Core-lr.73
>            load : Refactoring-Core-lr.136
>          load : Grease-Slime-jok.5
>        load : Magritte-Model
>        load : Magritte-Morph
>        load : Glamour-Morphic-Renderer
>        load : Glamour-Tests-Morphic
> 
>     and here's the section related to Grease (very end of directives): 
> 
> 
>        load : Glamour-Scripting
>        linear load : 1.0-alpha9.1 [ConfigurationOfGrease]
>          load : ConfigurationOfRefactoringBrowser
>        linear load : 1.0-alpha9.1 [ConfigurationOfGrease]
>          load : Grease-Core-lr.37
>          load : Grease-Pharo-Core-jok.18
>          linear load : 1.3 [ConfigurationOfRefactoringBrowser]
>            load : AST-Core-lr.73
>            load : Refactoring-Core-lr.136
>          load : Grease-Slime-jok.5
>        load : Magritte-Model
>        load : Magritte-Morph
>        load : Glamour-Morphic-Renderer
>        load : Glamour-Tests-Morphic
> 
>     The load directive is in "load order" which is "reverse prerequisite
>     order". In other words, the clue for why Grease is loaded lies in
>     the directives _following_ the Grease directives...
> 
> 
> 
> ahhhhhhhh  I was looking BEFORE, not after hehehe.. what an idiot I am :)

Not necessarily ... I didn't "figure that out" until after I'd 
understood why Grease was being loaded ... haha!

Dale




More information about the Pharo-dev mailing list