On Sun, Oct 14, 2012 at 8:25 PM, Usman Bhatti <usman.bhatti@gmail.com>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'] ].
As Stef said, it should work. I don't see anything weird. Try to PRINT (as Stef said) the result of doing a #record instead of a #load and see what is being load and in which order.
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
-- Mariano http://marianopeck.wordpress.com