[Fixed] Re: Autoloader annoyance
Brian Rice
water at tunes.org
Mon Nov 28 11:52:20 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have permanently fixed the issue where File RelativeLocator's were
printing their full paths instead of a relative part of it,
indirectly fixing the AutoLoader so that it spits out the correct
implicitly-local path.
This also fixes the annoyance of watching the post-bootstrap switch
from printing out full paths when local ones will do, specifically
from load: calls.
New images are uploaded with this fix, with alpha and the tarball
updated.
However, I still need to make the image robust WRT shutting down the
image, moving it to another location, and starting it from there. Not
all paths get updated correctly. More specifically, the image needs
to remember where its source tree is and annotated the appropriate
paths as being relative to /that/, not the current directory per
se... and also have an easy way to switch trees and even remind the
user that the image has moved but not the tree. It's an interesting
interaction design issue.
On Nov 25, 2005, at 1:38 PM, Brian Rice wrote:
> Ack! That's a recent thing where my own path got hardcoded
> accidentally. It's supposed to be implicitly relative to the Slate
> root tree of course. I'll try to get this fixed today as well.
>
> I've manually fixed the AutoLoad file on the server to use relative
> paths; you should be able to use that now.
>
> On Nov 25, 2005, at 9:21 AM, Todd Fleming wrote:
>
>> Here is an annoyance with the autoloader. It has a simple
>> (temporary) workaround that I show below.
>>
>> todd at debian:~/slate/main$ ./vm lin.image
>> Slate: Growing heap to 6927104 bytes.
>> True
>> Slate 2> events.
>> Loading P'/Users/water/Slate/test/src/ui/event.slate'
>> A file does not exist for the pathname: P'/Users/water/Slate/test/
>> src/ui/event.slate'Nil
>>
>> workaround:
>>
>> todd at debian:~/slate/main$ su
>> debian:/home/todd/slate/main# mkdir -p /Users/water/Slate
>> debian:/home/todd/slate/main# ln -s /home/todd/slate/main /Users/
>> water/Slate/test
>> debian:/home/todd/slate/main# ^D
>>
>> Todd
- --
- -Brian
http://tunes.org/~water/brice.vcf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDi1/0PVkAvLW1zf4RAkdMAJsHi1IE5QCPSMXj9p4dV52HoOI0cwCgsCZf
atd1e2hvtK+pA687tq0Xz24=
=NEXq
-----END PGP SIGNATURE-----
More information about the Slate
mailing list