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

[REBOL] Sharing Scripts on different OS

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/