On Feb 20, 2013, at 11:16 PM, Dale Henrichs <[email protected]> wrote:

> Stef,
> 
> The className: message will be optional with the release of the Metacello 
> scripting API ... so it _is_ planned.

Ok I thought it was. Good to know because I spent hours before I tried to add 
it.
But this is strange because I have the impression that I used it in some 
configurations.

Stef

> Dale
> 
> ----- Original Message -----
> | From: "Stéphane Ducasse" <[email protected]>
> | To: "Dale Henrichs" <[email protected]>
> | Cc: "[email protected] Development" 
> <[email protected]>
> | Sent: Wednesday, February 20, 2013 12:03:04 PM
> | Subject: spec className?
> | 
> | 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' ] ].
> | 
> | 


Reply via email to