On Sun, May 20, 2012 at 1:51 PM, Edgar J. De Cleene <[email protected]>wrote:
> > > > On 5/19/12 6:20 PM, "Mariano Martinez Peck" <[email protected]> wrote: > > because when exporting I am not using any order at all. > > > > Hey Mariano: > > IMHO you SHOULD use a exporting order and this could be the same when you > export a plain .cs. > > All you working on Fuel and Injectorare doing a great job !!! > > Hi. Answering to both you and Stef. What I found that works (at least with Seaside/Pier/Magritte) is to LOAD ALL packages first, and then send #initialize to classes, ordered by package. Example, Metacello told me the order of packages to load/initialize are PackageA, PackageC, PackageB. So, when I import I do: load PackageA load PackageC load PackageB send #initialize to classes of PackageA. send #initialize to classes of PackageC. send #initialize to classes of PackageB. If I do, instead, load PackageA send #initialize to classes of PackageA. load PackageC send #initialize to classes of PackageC. load PackageB send #initialize to classes of PackageB. it does not work. I guess this is because of what Dale said. Cheers -- Mariano http://marianopeck.wordpress.com
