loaded
"Send #initializeOnLoad to every class defined in this subapplication that implements it."
defined do: [ :aClass |
(aClass class includesSelector: #initializeOnLoad) ifTrue: [ aClass perform: #initializeOnLoad ] ]
That was copied from MetacelloImporter I imagine. This was OK in Monticello importer because it replaced #initializeOnLoad with #initialize. We don't do that with Tonel, so no class implements #initializeOnLoad but actually #initialize.
So...I think the implementation should be:
loaded
"Send #initializeOnLoad to every class defined in this subapplication that implements it."
defined do: [ :aClass |
(aClass class includesSelector: #initialize) ifTrue: [ aClass perform: #initialize ] ]
The current implementation is:
That was copied from MetacelloImporter I imagine. This was OK in Monticello importer because it replaced
#initializeOnLoad
with#initialize
. We don't do that with Tonel, so no class implements#initializeOnLoad
but actually#initialize
.So...I think the implementation should be: