Mariano Martinez Peck wrote:
Regards, Veronica _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr <mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Fri, Oct 1, 2010 at 2:16 PM, Veronica Isabel Uquillas Gomez <vuquilla@vub.ac.be <mailto:vuquilla@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.
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