All platforms (Linux and Mac a bit more than Windows) have a strong idea of
home that is host defined and the intent is that ~home reflect this. You may
find you have no use for it but other users do and changing it serves no
purpose (that I can see). home is for host platform home, not J home.
For J you should use ~install (et. al.) for distributed system files and
~user for user files.
I think you get everything you want by installing where you want and by
defining ~user to be whatever you want.
----- Original Message -----
From: "Sherlock, Ric" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Sunday, November 04, 2007 3:58 PM
Subject: RE: [Jbeta] j602bbeta
---Eric Iverson wrote:
I think it is a mistake to change the profile.ijs definition
of ~home as this comes directly from system definitions.
You can easily provide your own definition for ~user without
messing with ~home.
I would like to understand the reasoning for this better. Am I right in
saying you are suggesting that it would be better to leave ~home
pointing to "c:\program files\documents and settings\ric" and redefine
~user to point to "d:\j602-user"?
Apart from semantics of leaving ~home alone because it is a Windows
defined location, is there a practical reason that I shouldn't redefine
it?
From my point of view (i.e. that j602-user should be stored in My
Documents because, like Joey, I think of my source scripts as documents)
I want ~home to point to the location that contains my j602-user folder.
Ideally I should locate ~home as Oleg suggests by reading the Registry
key, because this would handle my relocated My Documents folder. But in
my previous ignorance of this setting and because it seems overkill for
my single-user laptop, I have opted just to point ~home to 'D:'.
Currently I don't see any value in having ~home pointed at a folder that
doesn't have any significance for me in terms of J. Does ~home get used
by J for anything other than as a base for ~user?
I agree that the current default definition of ~home is the best
cross-platform compromise, without getting into trying to handle
different OS/OS version combinations differently. I am also happy for
now with your suggestion of just documenting a simple way to put the
j602-user folder anywhere you want. Maybe the prompt during installation
for the location of user files can come in later version of J ;-).
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm