I'm having problems packaging a very simple Seaside demo XD image as an NT service. I don't think the NT service part is the problem. I think the trouble stems from the XD image side. After tweaking things I can get a packaged image without errors. But when I run the image it dies before it gets to the code that registers the Seaside app.
It dies in EmSystemConfiguration>>#xdImageStartup when it calls #loaded of #GreaseCore (and others):
- Code: Select all
loaded
"Send #initialize to every class defined in this subapplication that implements it."
defined do: [ :aClass |
(aClass class includesSelector: #initialize) ifTrue: [ aClass initialize ] ]
#defined is a class instance variable defined in #SubApplication. It should be a list of the classes defined in GreaseCore but it is nil. So, #xdImageStartup traps "MessageNotUnderstood: UndefinedObject>>do:" many times and then gives up and stops running.
Is there something I should be doing to insure this class instance variable is not nil and contains the classes it should? Should I include more classes? Should I include fewer classes? Should this initialize code be called? Any help is greatly appreciated. Thanks.
Lou