Bill - have you looked at how this is handled in "profile.ijs" in the
section
labeled
NB. create SYSTEMFOLDERS
?

On 7/4/07, bill lam <[EMAIL PROTECTED]> wrote:

Date: Wed, 04 Jul 2007 11:55:16 +0800
From: bill lam <[EMAIL PROTECTED]>
Subject: [Jbeta] relative path in user/config
To: Beta forum <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8; format=flowed

I would like to install J development system and my projects in usb-drive
and
run it for different computers as I move around.  However the drive name
for
usb-drive changes and causes a difficulty.  It is the absolute paths are
kept in
various files under j601/user/config such as that shown below.  Will it be
possible to make them relative to paths inside SYSTEMFOLDERS_j_ and
USERFOLDERS_j_ ? so that it becomes
   STARTUP=: '~config/startup.ijs'

config.ijs:

STARTUP=: '\home\bill\j601\user\config\startup.ijs'


projects.ijs:

PROJECTLOOKIN=: 'c:\home\bill\jproject\trunk\jvb\'

PROJECTRECENT=: 0 : 0
c:\home\bill\jproject\trunk\jvb\vb5
c:\home\bill\jproject\trunk\jvb\vb6
)


recent.ijs:

RECENT=: 0 : 0
\home\bill\j601\system\main\gl2.ijs
\home\bill\j601\system\packages\graphics\vkeys.ijs
\home\bill\j601\profile.ijs
)

--
regards,
bill

...
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to