Minimum file set required for headless app?
John.Maloney at disney.com
John.Maloney at disney.com
Sun Apr 25 18:55:23 UTC 1999
Re:
>>Originally I tried running without the sources or changes files but the
>>app did not start up properly. The VM would start fine but the app
>>would not be running. Why does Squeak require the source code to run?
>
>SImply because the file initialization code tries to open them and then consults the user if they cannot be found. For the time being, I would simply edit the code for
> FileDirectory>>openSources:andChanges:forImage:
>so that it doesn't try to inform the user. From then on, the system should be able to deal with missing sources and changes.
It's even easier than this; just edit your preferences (under
the "help..." menu) and turn off (make false):
warnIfNoChangesFile
warnIfNoSourcesFile
before you save your final image. It will then omit the user
notification when it starts up headless, and you'll be fine.
-- John
More information about the Squeak-dev
mailing list
|