it should work. I have many examples of such a situation and it works. Did you try to get (chef the metacello chapter) the list of packages that we will be loaded. ((ConfigurationOfCoolBrowser project version: '0.2') record: { 'CoolBrowser-Core' . 'CoolBrowser-Addons' }) loadDirective Stef On Oct 14, 2012, at 8:25 PM, Usman Bhatti wrote:
I have a configuration as follows :
spec for: #common do: [ "a class in package BBB inherits from a class in package AAA" spec package: 'AAA'; package: 'BBB' with: [spec requires: 'AAA'] ]. Now, when I try to load this configuration, it fails to properly load the package BBB (there are some missing classes) with this msg:
This package depends on the following classes:
A class in package AAA
You must resolve these dependencies before you will be able to load these definitions: A class in package BBB.
It seems that there is a way to load packages in a linear order (http://code.google.com/p/metacello/wiki/FAQ#Controlling_Package_Initializati...). However, my project defaults is already set to linear and after reading this post my problem is not resolved.
Can anyone help me how I can enforce package AAA to load before BBB?
tx,
usman