Hi all,
I am trying to load a specific version of PetitParser in a Moose image. A Moose image comes with the latest development version of PetitParser. So, I am trying to downgrade to an older version. So, when I load the version manually, older versions of the packages are loaded:
(ConfigurationOfPetitParser project version: '1.51') load
But when I try to load the same version within my ConfigOf the expected packages are not loaded and list of the PetitParser packages loaded remains unchanged. Here is how my baseline looks like:
ConfigurationOfDummyParser>>baseline01: spec
<version: '0.1-baseline'>
spec for: #'common' do: [
spec blessing: #'baseline'.
spec project: 'PetitParser' with: [
spec
className: #ConfigurationOfPetitParser;
versionString: '1.51';
I also tried creating a version but it didn't help.
ConfigurationOfDummyParser>>version10: spec
<version: '1.0' imports: #('0.1-baseline' )>
spec for: #'common' do: [
spec blessing: #'stable'.
spec description: 'version 1.0'.
spec author: 'usmanbhatti'.
spec timestamp: '12/19/2014 16:35'.
spec project: 'PetitParser' with: '1.51'. ].
I also had a look at the package the configuration tries to load and the list shows correct packages to be loaded (see screenshot).��
Does anyone have an idea what may be problematic in my code or that of Metacello? I am attaching the code of my ConfigOf for a Moose image.
Thanks in advance.
Usman

��