I know this is not technically a Pharo question, but I'm in China on my
honeymoon and can't access the Metacello Google group!

There was a pattern in pre-BaselineOf Metacello where one would define
dependencies loosely in the #baselineXyz:, and then pin them to a specific
version in the #versionAbc:.

For example:
   baseline100: spec
        ...
        project: 'BabyMock' with: [
                spec
                        className: #ConfigurationOfBabyMock;
                        versionString: #'stable';
                        repository: 
'http://smalltalkhub.com/mc/zeroflag/BabyMock/main/' ]
        ...
and then:
   version10: spec
        ...
        spec 
                project: 'BabyMock' with: '1.2'
        ...

How does one handle this sort of thing with #baseline:import:?

This is what I came up with:
   version10: spec
        ...
        baseline: 'BabyPhexample'
                with: [ 
                      spec
                        repository:
                           
'github://seandenigris/Baby-Phexample:INSERT-SHA-HERE/repository' ];
                import: 'BabyPhexample'.
                spec 
                        project: 'BabyMock' with: '1.2'
        ...
But I got this error from the last line: MessageNotUnderstood: receiver of
"fetchUsing:" is nil

Thanks.




-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/BaselineOf-s-and-Loose-Dependencies-tp4885749.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to