Hi guys,�
I need some help with a metacello configuration. The development version is working OK, but I can't find a way to define a "version" that works. The configuration implies some conditional loading logic and optional groups.
Here's the case and how to reproduce it:
- Take a 3.0 Pharo image
- Add the repository�http://smalltalkhub.com/mc/gcotelli/RenoirSt/main�and load ConfigurationOfRenoirSt-GabrielOmarCotelli.11.
- Open a workspace and print the result of:
(ConfigurationOfRenoirSt �project version: '1.1.0') record loadDirective.�
"
linear load :�
linear load : 1.1.0 [ConfigurationOfRenoirSt]
load : RenoirSt-GabrielOmarCotelli.28
load : RenoirSt-HTML-GabrielOmarCotelli.3
load : RenoirSt-HTML-Tests-GabrielOmarCotelli.4
load : RenoirSt-Tests-GabrielOmarCotelli.22."
That's the first branch of the conditional loading.
Now go to the ConfigurationBrowser and install the stable version of Units package.
and retry the previous code, the result now is:
linear load :�
linear load : 1.1.0 [ConfigurationOfRenoirSt]
load : RenoirSt-GabrielOmarCotelli.28
load : RenoirSt-HTML-GabrielOmarCotelli.3
load : RenoirSt-HTML-Tests-GabrielOmarCotelli.4
load : RenoirSt-Tests-GabrielOmarCotelli.22
load : RenoirSt-UnitsCompatibility-GabrielOmarCotelli.1
load : RenoirSt-Seaside-GabrielOmarCotelli.1
load : RenoirSt-Seaside-Tests-GabrielOmarCotelli.1
when I expect it to be
linear load :�
linear load : 1.1.0 [ConfigurationOfRenoirSt]
load : RenoirSt-GabrielOmarCotelli.28
load : RenoirSt-HTML-GabrielOmarCotelli.3
load : RenoirSt-HTML-Tests-GabrielOmarCotelli.4
load : RenoirSt-Tests-GabrielOmarCotelli.22
load : RenoirSt-UnitsCompatibility-GabrielOmarCotelli.1
I don't get why in the second case metacello is trying to load the Seaside related packages when this packages are in a group that should not be loaded by default. And if I use #development instead of the version name the result is the expected one (actually the versions are the same for development).
Any help is appreciated.
Gabriel