[Openmcl-devel] Init-file in openMCL Cocoa App

Sebastian Nozzi sebnozzi at gmx.net
Thu Jun 10 04:44:21 PDT 2004


Hi,

I was trying to change the lines in "cocoa-application.lisp" where the 
application image is saved. I want to load an init-file in the graphic 
environment as well so I just added the corresponding parameter:

(save-application "ccl:OpenMCL.app;Contents;MacOS;dppccl"
:init-file "home:openmcl-init.lisp"
:prepend-kernel t
:application-class 'cocoa-application)

This works. But I also tried other possibilities (since I don't want to 
see the file in the Finder in my home directory) and they didn't work.
And as a MacOS X novice I don't exactly know in which log to look for 
standard error messages in the Console application.

In the first case, I renamed the file with a dot in front to make it 
invisible to Finder. In the other cases I tried with other locations.
All failed:

:init-file "home:.openmcl-init.lisp"
:init-file "home:Library/openmcl-init.lisp"
:init-file "home:Library;openmcl-init.lisp"
:init-file "/Users/sebnozzi/Library/openmcl-init.lisp"
:init-file "ccl:openmcl-init.lisp"

My init-file defined a global variable and in the cases of failure the 
variable was of course unbound.

Moreover, I would like to know how the directory translation works in 
openMCL. Where can I get more info on that? (what predefined directories 
are there, like home:, ccl:, etc. when to use ; and when to use :? can I 
mix slashes and ; and : ? etc.)

Thanks in advance,

Sebastian

P.S. openMCL version 0.14.2-p1, OSX version 10.3.4




More information about the Openmcl-devel mailing list