Andrew Black-2 wrote
>>              spec
>>                      baseline: 'SmaCC' with: [ spec loads: #('Reification' ) 
>> ]
> 
> Can you tell me what this line actually means.  That is, what does the
> #baseline:with: method actually declare?

It means load the 'Reification' group of the SmaCC project, as specified in
BaselineOfSmaCC. The 'Reification' group includes the SmaCC-Reification
package, and by extension its dependencies as specified by the baseline.


Andrew Black-2 wrote
> Where should I put this statement?  In baselineOfSmaCC, or
> baselineOfGrace?  Why?

baselineOfGrace. You're saying that SmaCC (specifically the Reification
group) is a dependency of Grace. You should probably also add Smacc the the
#requires: list of whatever (e.g. package(s)) requires it.

Deep into Pharo (http://books.pharo.org/deep-into-pharo/) Chapter 9 gives a
pretty good explanation of much of Metacello. Ignore the gopher stuff which
has been replaced by the Metacello scripting API. Also, the book was written
when baseline methods were in Configuration classes, whereas now for git
they are reified into BaselineOf classes, but the API of the actual method
is still the same so it should help clarify.



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to