loading groups with metacello

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

loading groups with metacello

Veronica Isabel Uquillas Gomez
Hi Mariano,

You already saw my problem.

With this you can check what is happening:
(ConfigurationOfGlamour project version: 'default') record: #('Core' 'Tests' 'Extras')

all the pre-requisites are being loaded and not only the groups.


Regards,
Veronica
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: loading groups with metacello

Mariano Martinez Peck


On Fri, Oct 1, 2010 at 2:16 PM, Veronica Isabel Uquillas Gomez <[hidden email]> 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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Re: loading groups with metacello

Dale Henrichs
Mariano Martinez Peck wrote:

>
>
> On Fri, Oct 1, 2010 at 2:16 PM, Veronica Isabel Uquillas Gomez
> <[hidden email] <mailto:[hidden email]>> 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 [hidden email]
> <mailto:[hidden email]>
> 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...

In this case Magritte-Model immediately follows the loading of Grease
implying that Magritte-Model, requires Grease (and then confirmed by
looking at the configuration)

Reading on: Magritte-Morph requires Magritte-Model,
Glamour-Morphic-Renderer requires Magritte-Morph and
Glamour-Tests-Morphic requires Glamour-Morphic-Renderer.

 From the configuration, Glamour-Tests-Morphic is a member of Tests and
Tests is being loaded (or recorded in this case).

Does this help?

Note that ConfigurationOfGlamour is not using ConfigurationOfMagritte2.
I think that is because of problems with earlier versions of the
CofigurationOfMagritte2, when seaside30 was loaded when you tried to
load Magritte. The latest ConfigurationOfMagritte2 doesn't have that
problem anymore, Glamour could be using ConfigurationOfMagritte2 now.

Dale

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Re: loading groups with metacello

Mariano Martinez Peck


On Fri, Oct 1, 2010 at 7:13 PM, Dale Henrichs <[hidden email]> wrote:
Mariano Martinez Peck wrote:


On Fri, Oct 1, 2010 at 2:16 PM, Veronica Isabel Uquillas Gomez <[hidden email] <mailto:[hidden email]>> 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 [hidden email] <mailto:[hidden email]> 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 :)
 

In this case Magritte-Model immediately follows the loading of Grease implying that Magritte-Model, requires Grease (and then confirmed by looking at the configuration)

Reading on: Magritte-Morph requires Magritte-Model, Glamour-Morphic-Renderer requires Magritte-Morph and Glamour-Tests-Morphic requires Glamour-Morphic-Renderer.

From the configuration, Glamour-Tests-Morphic is a member of Tests and Tests is being loaded (or recorded in this case).

Does this help?

Completly understood :)
 

Note that ConfigurationOfGlamour is not using ConfigurationOfMagritte2. I think that is because of problems with earlier versions of the CofigurationOfMagritte2, when seaside30 was loaded when you tried to load Magritte. The latest ConfigurationOfMagritte2 doesn't have that problem anymore, Glamour could be using ConfigurationOfMagritte2 now.

Dale


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Re: loading groups with metacello

Dale Henrichs
Mariano Martinez Peck wrote:

>
>
> On Fri, Oct 1, 2010 at 7:13 PM, Dale Henrichs <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Mariano Martinez Peck wrote:
>
>
>
>         On Fri, Oct 1, 2010 at 2:16 PM, Veronica Isabel Uquillas Gomez
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>> 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 [hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>         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

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