[Pharo-users] why doesn't this baseline load any package when included in another baseline?

Paul DeBruicker pdebruic at gmail.com
Mon Feb 4 09:49:30 EST 2019


Thanks Pierce

Turns out my problem seems to have been from using a #cacheRepository: send
in the Metacello load instruction.  

e.g. when I do a 

Metacello new
    baseline:'MyProject'; 
    repository:'/my/path/';
    cacheRepository: '/my/cache';
    load

Then the packages aren't loaded but if I do a 

Metacello new
    baseline:'MyProject'; 
    repository:'/my/path/';
    load


then everything is loaded.  The cache directory already has the packages in
it, from another load into another image in pharo 6.  So I'll try to learn
what that cacheRepository: send is doing that I don't expect.



thanks for looking into this.


Paul



Pierce Ng-3 wrote
> On Sun, Feb 03, 2019 at 01:41:30PM -0800, PAUL DEBRUICKER wrote:
>> MCHttpRepository
>>     location: 'http://www.squeaksource.com/TimeZoneDatabase'
> 
> Hi Paul,
> 
> I see that there is a ConfigurationOfTimeZoneDatabase in the SS repo as
> well. 
> 
>> 	spec baseline: 'TimeZoneDatabase'
>> 			with: [ spec repository:
>> 'http://www.squeaksource.com/TimeZoneDatabase' ].
> 
> In your BaselineOfYourProject that is citing TimeZoneDatabase as a
> dependency, you could try loading ConfigOfTimeZoneDatabase instead:
> 
>     spec project: 'TimeZoneDatabase' with: [ 
>        spec 
>          className: 'ConfigurationOfTimeZoneDatabase';
>          version: #stable;
>          repository: 'http://www.squeaksource.com/TimeZoneDatabase' ].
> 
> This is known working in my BaselineOfGlorpSQLite which loads
> ConfigurationOfUDBC
> from STH.
> 
> Pierce





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



More information about the Pharo-users mailing list