<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hello Dale,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">I look at it and I don't get it :-(</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">a) I have no GsDevKit_home any more on
my new deployment machines - so GS_HOME is not set any more, only
GsDevKit_stones and superDoit is on these machines ... so the
second usage is not possible</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">b) For the first usage example I need
to set the GEMSTONE variable ... and how to get this value in a
simple way was the main part of my question.</div>
<br>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Marten <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 26.11.24 19:06, Dale Henrichs wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFuPq9WoHupkW-AmFgfC=LHTskcvabyK6Z4tEUuJkkLH6OjKMw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Nov 26, 2024 at
8:59 AM Marten Feldtmann via Glass <<a
href="mailto:glass@lists.gemtalksystems.com"
moz-do-not-send="true" class="moz-txt-link-freetext">glass@lists.gemtalksystems.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I am in the process of switching from GsDevKit_home to
GsDevKit_stones<br>
(for my runtime environments) and I have lots of codes here,
<br>
</blockquote>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">...
<br>
</blockquote>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Or is there a more simplier way ??<br>
</blockquote>
All you need to do is add the following line at the top of a
standard topaz script :<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">#!/usr/bin/env
superdoit_topaz</blockquote>
<div>make the file executable and then execute the topaz
script (GsDevKit_stones/bin needs to be in you path):</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">mytopazscript.topaz
-L -I <path-to .topazini file><br>
</blockquote>
<div>If you are running the script in a directory where the
.topazini you want to use already exists (like the stone
directory), topaz always looks in the local directory for a
.topazin file and you don't need to use the `-I` option:</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> mytopazscript.topaz
-L</blockquote>
<div>I usually use the arguments `-Lq` to launch a .topaz
script to suppress the topaz head file.<br>
</div>
<br>
</div>
<div class="gmail_quote">You can look at the template.topaz
script in the superDoit clone or look at the template
online[1] for a full example.</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">Dale <br>
</div>
<div class="gmail_quote">
<div>[1] <a
href="https://github.com/dalehenrich/superDoit/blob/v4.2/examples/templates/template.topaz"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/dalehenrich/superDoit/blob/v4.2/examples/templates/template.topaz</a></div>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>