It is impossible in J602.

A typical config.ijs contains folder such as

USERFOLDERS=: 0 : 0
'Projects';'~user\projects';0
'User';'~user';0
'System';'~system';0
'Addons';'~addons';0
'Classes';'~system\classes';0
'Examples';'~system\examples';0
'Extras';'~system\extras';0
'Help';'~system\extras\help';0
'Main';'~system\main';0
'Packages';'~system\packages';0
'Phrases';'~system\examples\phrases';0
'jproject';'j:\jproject\trunk';0
'Source';'y:\jal\trunk';0
)

You can see user defined projects always be in the form of absolute
path with a drive letter in windows.  What Henry and I refer to
this problem but not files that relative to system/user folders.


On Sun, 15 Nov 2009, Oleg Kobchenko wrote:
> This is getting too overcomplicated. I suggest
> simplifying your environment rather than jumping
> through artificially constructed hoops.
> 
> J has the ability to work with relative folders.
> Folders relative to where it is started or relative
> to a constant configuration.
> 
> You could run J from a USB drive, but it is better to
> use USB drive only as a transfer/back up media, and
> copy the files to a desktop. Even if these are different
> desktops: Mac, Linux, Windows--you should be able to
> do your stuff without absolute paths, let alone drive
> letters.
> 
> That's how addons work. It would have been a nightmare
> to handle absolute paths or drive letters. Instead of
> USB drives, the SVN is used for addons and it works nicely
> between platforms.
> 
> 
> [---=| TOFU protection by t-prot: 103 lines snipped |=---]

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to