[Openmcl-devel] loading ccl-ide-init
gb at clozure.com
Wed Oct 31 23:46:53 UTC 2012
As far as I can tell/remember, loading the IDE init file has always been done
in the application delegate's #/applicationWillFinishLaunching: method (instead
of in #/applicationDidFinishLaunching:).
IIRC, that was about the earliest point in time that it was practical to
load that file: the NSApplication object was in fact (largely) initialized
and at least in theory loading the file then made it possible to customize
what happens between the points when those notifications are posted.
The code to load the IDE init file was added in early May of 2009; it's
certainly possible that the state of the NSApplication at the point of
the earlier notification isn't what it was ~3.5 years (and ~3 OS releases)
ago because of Cocoa changes. If that's true, it seems to argue in favor
of loading the init file later (when we know that the application DID finish
launching and is fully initialized), since we can't really count on how
much initialization remains to be done when we're told that it WILL "finish
On Wed, 31 Oct 2012, Paul Krueger wrote:
> Just upgraded to version 1.9-dev-r15490M-trunk (DarwinX8664) and discovered that loading the ccl-ide-init file has been put into the #/applicationWillFinishLaunching: method. I don't know when that happened because it's been a LONG time since I upgraded last. The problem with this is that the things that I have previously been doing in my ccl-ide-init require that the Application object already be initialized, which is not the case when this method is called. Is there some reason loading the ccl-ide-init file couldn't be put into a #/applicationDidFinishLaunching: method which is called after the Application object is initialized?
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel