|
From: Tim R. <ti...@su...> - 2002-09-05 22:46:25
|
In message <Pin...@ti...>
Ian Piumarta <ian...@in...> wrote:
> because it isn't clear what the behaviour of the proposed `-cwd' flag
> should be. E.g: the image file is opened and read before the interpreter
> is started. Then the image looks in the cwd for the .changes and .sources
> files after the interpreter is started.
Err, I am under the impression that the .changes file is to be expected
in the same directory as the .image and the .sources in the same
directory as the VM. Or more exactly, the .sources are expected to be in
the path returned by vmPath and the .changes in the CWD as set by
'setDefaultDirectoryFrom: Smalltalk imageName'.
For Acorn I make the vmPath be the application directory so that the
sources live right next door to the vm.
Oh, and Ian, you were wrong a couple of messages back - in general the
.changes file could do with living in a writable directory...
It might be smart to specify explicit paths rather than the somewhat
limiting assumptions currently in the system. I suspect that it isn't
normally expected in unix that a text file would be in
/blah/bin/var/nobodyinparticular/usr/sqf/squeak/3.2/bin along with the
vm. And from reading some of the discussion relating to ROX I get the
impression that where to put files can become a holywar for unixoids.
tim
--
Tim Rowledge, ti...@su..., http://sumeru.stanford.edu/tim
"Like no bother man.." said Pooh as he spaced out on hash
|