Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Sharing Scripts on different OS

 [1/3] from: al:bri:xtra at: 5-Feb-2001 3:11


Sharing Scripts I've been through a interesting exercise with a client, trying to get Rebol and my scripts running (and hopefully make some money for both of us), and I've discovered some problems in general script portability. Earlier I had my several versions of Rebol in my windows %"Program Files/" directory. We discovered that this becomes a problem with other machines that don't have a %"Program Files/" directory because they're using different operating systems. So after some trials and tribulation, we've decided to put rebol executables and scripts in a directory like: [Root Directories]/Rebol/ with each Rebol version in subdirectories like: [Root Directories]/Rebol/Core/ [Root Directories]/Rebol/View/ and with my user scripts in a sub directory like: [Root Directories]/Rebol/Scripts/ Then the necessary line in %User.r to install the "plugins" for %Patches/, %Enhancements/ and %Units/ becomes simply: do %../Scripts/Units/Units.r The advantage is now that I can easily transfer files in one .zip file to my client and I can be certain that his copy is up to date as he simply erases his old version. And also not mistakenly transfer incompatible Rebol executables when working late at night. I hope this helps others working with Rebol. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/

 [2/3] from: ptretter:norcom2000 at: 4-Feb-2001 9:32


Andrew, Just curious, couldn't they just modify system/options to the correct path for their installations. Or more specifically: system/options/home: system/options/path: Not sure if this is applicable with what you were originally trying to do. Paul Tretter

 [3/3] from: g::santilli::tiscalinet::it at: 5-Feb-2001 13:28


Andrew Martin wrote:
> [Root Directories]/Rebol/ > with each Rebol version in subdirectories like: > [Root Directories]/Rebol/Core/ > [Root Directories]/Rebol/View/ > and with my user scripts in a sub directory like: > [Root Directories]/Rebol/Scripts/
What a coincidence! I use the same exact structure... My %user.r sets SCRIPTS to the right dir so that I can write: do scripts/my-script.r Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/