Hi Martin,
I do not know yet :). This was my original question.
The loading seems to work well, so I guess the spec is probably Ok like it is now. The problem is then how to query properly the information out from the configuration.
Cheers, Doru
On 30 Apr 2011, at 04:09, Martin Dias wrote:
Hi
Sorry, I couldn't understand the thread completely...
Is this issue fixed adding the line
package: 'FuelMooseExtensionBenchmarks' with: [ spec requires: 'FuelMooseExtension' ].
in the baseline? or something more complex is needed?
On Fri, Apr 29, 2011 at 3:17 PM, Tudor Girba tudor.girba@gmail.com wrote: Hi,
ConfigurationOfFuelMooseExtensions has the following baseline and version definitions and I am not sure whether they are correct. The problem is that the baseline defines a package only in a group, and then the version defines the version for it.
Loading seems to load just fine. If I simply load the version, it loads the two packages defined in the Core group as expected. However, my problem is that when I query version 1.1 for packages, it retrieves the extra FuelMooseExtensionBenchmarks package.
Could someone look into this?
baseline11: spec <version: '1.1-baseline'>
spec for: #common do: [ spec blessing: #baseline. spec repository: 'http://www.squeaksource.com/Fuel'. spec package: 'FuelFameExtension' with: [ spec requires: 'Fuel' ]; package: 'FuelMooseExtension' with: [ spec requires: 'FuelFameExtension' ]. spec group: 'default' with: #('Core'); group: 'Core' with: #('FuelFameExtension' 'FuelMooseExtension'); group: 'Tests' with: #('FuelFameExtension' 'FuelMooseExtension'); group: 'Benchmarks' with: #('FuelFameExtension' 'FuelMooseExtension' 'FuelMooseExtensionBenchmarks'). spec project: 'Fuel' with: [ spec className: 'ConfigurationOfFuel'; loads: #('CoreWithProgressBar' ); file: 'ConfigurationOfFuel'; repository: 'http://www.squeaksource.com/Fuel' ] ].
version11: spec <version: '1.1' imports: #('1.1-baseline') >
spec for: #common do: [ spec blessing: #release. spec project: 'Fuel' with: '1.1'; package: 'FuelFameExtension' with: 'FuelFameExtension-MartinDias.28'; package: 'FuelMooseExtension' with: 'FuelMooseExtension-MartinDias.8'; package: 'FuelMooseExtensionBenchmarks' with: 'FuelMooseExtensionBenchmarks-MartinDias.2'].
Cheers, Doru
-- www.tudorgirba.com
"Some battles are better lost than fought."
-- www.tudorgirba.com
"Live like you mean it."