Hi Jon, Thanks for the quick response.
Re: refresh, I think I wasn't clear enough about what I tried doing --- I did try working through the first program tutorial using a copy of factor-linux-x86-32-2009-10-19-01-04.tar.gz extracted in /tmp, so /tmp/factor/work/palindrome/palindrome.factor was a straight path of regular directories. refresh still doesn't work. reload does, which is at least something thanks (and yes now that I re-tread the tutorial once more I see that mentioned on the third page). I tried running test-all to see if something more fundamental isn't working on my machine, but Factor collapsed with an out of memory error (the machine's only got 1GB of RAM). Not sure whether there's something more focussed to run, but the refresh tests themselves don't appear to actually touch the filing system so I don't think I'll locate the problem there. Jon> The three different options for work folders seem pretty obvious to Jon> me, what part of it doesn't work for you ? Have you edited the Jon> shell variable FACTOR_ROOTS, or created the file .factor-roots like Jon> it's said in the article ? I've been trying to use FACTOR_ROOTS. With the above copy of Factor in /tmp/factor, no matter whether I set FACTOR_ROOTS to /tmp/factor:/tmp or /tmp:/tmp/factor or /tmp/work (with my "work" directory moved to /tmp/work), '"resource:work" "palindrome" scaffold-vocab' always creates palindrome as /tmp/factor/work/palindrome, even creating a new work directory there if I've deleted the existing one. I would have hoped that there would be some way for it to identify which of the roots contained a work directory, and use that one, or at least use the first root that I named for the work directory, but it always returns to the Factor install tree no matter what I do. My learner's understanding of the code that processes "resource:abc" prefixes suggests that it just amounts to a straight replacement of "resource:" with the Factor install path, rather than some kind of "smart" lookup of an "abc" resource. Is that right? It's not clear to me from that web page whether vocabulary roots should be the directories containing "work", "basis", "core", etc. (/tmp/factor) or the actual work and basis directories themselves (/tmp/factor/work), but I did try testing under both assumptions and concluded that it's the latter. Conrad -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
