Hi dale


I wrote in the book that we do not need to specify the className when the configurationOf has the same name as the project
but I experienced a problem that I could not solve by specifying a className

Is it something known?

Stef

Begin forwarded message:

first question: className usage in presence of regular package.
-------------------------------------------------------------------------------------------
In the following baseline, I do not understand why I'm forced to specify the className because the configuration 
is based on the project name.


spec project: 'OrderPreservingDictionary' with: [
spec 
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ without className

versionString: #stable; 
loads: #('Core'); 
repository: 'http://smalltalkhub.com/mc/Pharo/OrderPreservingDictionary/main'].

does not work 

while

spec project: 'OrderPreservingDictionary' with: [
spec 
className: 'ConfigurationOfOrderPreservingDictionary';
versionString: #stable; 
loads: #('Core'); 
repository: 'http://smalltalkhub.com/mc/Pharo/OrderPreservingDictionary/main'].
Works


baseline200: spec
<version: '2.0.0-baseline'>

spec for: #common do: [ 
spec
blessing: #baseline;
description: 'Migrated to SmalltalkHub and taking into account new configurations of subcomponents';
repository: 'http://smalltalkhub.com/mc/Pharo/XMLWriter/main'.

spec project: 'OrderPreservingDictionary' with: [
spec 
className: 'ConfigurationOfOrderPreservingDictionary';
versionString: #stable; 
loads: #('Core'); 
repository: 'http://smalltalkhub.com/mc/Pharo/OrderPreservingDictionary/main'].

spec package: 'XML-Writer' with: [spec requires: 'OrderPreservingDictionary']. 

spec
group: 'default' with: #('Core');
group: 'Core' with: #('XML-Writer');
group: 'Tests' with: #() ].


spec for: #squeakCommon do: [ 
spec package: 'Collections-Support' with: [ 
spec repository: 'http://www.squeaksource.com/Pharo' ] ].