[Glass] Another metacello loading puzzle: xml

Iwan Vosloo via Glass glass at lists.gemtalksystems.com
Sat Dec 23 02:12:28 PST 2017


Hi Dale,

On 23/12/2017 00:11, Dale Henrichs via Glass wrote:
>> We fetch what we need once, and keep it thereafter locally (in the 
>> cache repository) so that we don't need to keep hitting the network 
>> during CI builds etc.
 >
> okay ... perhaps the fetch fails when attempting to download the xml 
> files? There shouldn't be anything special about he xml project to make 
> it fail, unless you haven't pre-fetched the XML mcz files ///

Do you mean I should always first do :

Metacello new
   ....
   cacheDirectory: '...';
   fetch: 'ALL'.

And THEN only a load: 'ALL'?

I was under the impression doing just a load would fetch, thus populate 
the cache and then load; and on subsequent loads of the same thing would 
hit the cache. And indeed if I clean the cache out, and then just do a 
load I see that happening.

Thanks
Iwan






More information about the Glass mailing list