Awi IT Pro
21Jan/110

How to merge rebol scripts and create installer

So you're ready to ship your useful rebol script to your clients?

Now try telling them to download rebol, choose the View version 2.7.8 for windows, put it in a folder somewhere, then run it, choose User, check the Install now option, hit Save, follow the installation, which then failed... not to mention the steps to download your scripts somewhere, if you want to run it from desktop you have to make a link, instead of copying that .r file because they have to sit together. Etc etc... Easy for us, not for the end user.

I'm not suggesting that you always have to use an installer. But most end users expect that they download, double click, and done.

So here we go, suppose your DrawTogether app has three scripts: main.r, librebgui.r, librugby.r . We will go through these steps with our build script:

  1. increment the version number in main.r automatically
  2. merge - main.r -, - librebgui.r - , and - librugby.r - into single file DrawTogether.r
  3. create an installer

Your - main.r - should look like this:

20Jan/111

How to update your rebol version number

I know this may looks inefficient to the gurus, but it works :-)

Suppose you have your well-running, stable, rebol script, and you want to distribute it to your friends, clients, or even make it public in www.rebol.org. You will definitely need versioning. Otherwise when you got calls, you don't know which version your user has, and that's really really bad.

To illustrate this, just this morning I got a call from the first user of a rebol app I finished a week ago. Last week I emailed it to him, and continued my work. He told me on the phone, "Hey I got it running, everything works, but this that those blablabla...". I wanted to run the same app while listening, but I started sweating because I don't know which version he is talking about. Of course I could get the copy back from my sent email. But you got the idea. So versioning is important when you start releasing something.

The nice thing is - versioning is easy with rebol, and it's built in. Each of your rebol script could have it as simple as this:

20Jan/110

How to use rebol3 world on altme

By luck I just found out the best way to get the best out of rebol3 altme:
First steps:

  1. Get altme on www.altme.com
  2. Request login by visiting world: rebol-gate, username: guest, password: guest. Ask nicely in 'Rebol3 join request' channel.
  3. Visit the Rebol3 world with your brand new login. Then wait patiently until the progress bar on the top left stopped.
  4. Browse around, ask questions in the corresponding channel. Don't worry, somebody will see and might reply if you're nice ;-)

And now the best of all. How to see what's hot in discussion, how on earth those rebol experts/gurus/pros can see your question in the jungle of channels, and respond even before you finished typing (I'm exaggerating here :-) ) ? Here is the simple trick:

22Dec/100

Pernah dengar tentang REBOL ???

Full programming framework dengan network support, advanced, animated, yet easy to use GUI, sound library, serial port, hanya dalam 600 KB ??? Bahkan tersedia di Windows, Linux, Mac, FreeBSD, dll.

Hmm, bila dibandingkan dengan .NET Framework yang ratusan MB, atau Python yang untungnya masih di bawah 10 MB, rasanya koq seperti mimpi ya :-) . Karena itulah saya sekitar 2 tahun lalu memutuskan untuk mencoba dan melihat sendiri, apa benar Rebol memenuhi apa yang dijanjikannya.

Filed under: Rebol Continue reading
14Sep/100

Welcome to Awi IT Pro

Thank you for visiting this website. We're still filling this website with contents from our projects. Please come back soon to get more updates. Thanks!

Filed under: Others No Comments