<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Thanks for
the response, Henry!<br>
<br>
Looks like this might finally be the thing that pushes me over the edge
in favor of using rake to build my app.&nbsp; Every time I release a new
version, I release it in a few different flavors, each with slight
modifications.&nbsp; Using rake and the OpenLaszlo gem, I should be able to
write the build time to an XML file that is included in the build,
correct?<br>
<br>
-Rich<br>
</font></font><br>
Henry Minsky wrote:
<blockquote
 cite="mid:8c61fad60710301022o2f90e95bi2662d4f7862a33@mail.gmail.com"
 type="cite">The actual call to get the info as a string is <br>
  <br>
LzCanvas.versionInfoString()<br>
  <br>
  <br>
  <br>
  <div><span class="gmail_quote">On 10/30/07, <b
 class="gmail_sendername">Henry Minsky</b> &lt;<a moz-do-not-send="true"
 href="mailto:henry.minsky@gmail.com">
henry.minsky@gmail.com</a>&gt; wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hmm,
that's a good idea, I don't think the compiler bakes the&nbsp; date that the
app was compiled into the app anyplace. It does bake in the information
on the version of LPS that is running though:
    <br>
    <br>
Debug.versionInfo
()<br>
    <br>
will return a string like this<br>
    <span><span style="white-space: pre;"><a moz-do-not-send="true"
 title="Inspect &laquo;Function(0)#17| Debug.ve...&raquo;">Debug.versionInfo<br>
    </a></span></span><span><span style="white-space: pre;"><br>
    </span></span><span><span style="white-space: pre;"><span>lzx&gt; </span></span></span><span><span
 style="white-space: pre;"><span>Debug.versionInfo<br>
()</span><br>
    </span></span><span><span style="white-space: pre;">URL:<br>
    <a moz-do-not-send="true"
 href="http://127.0.0.1:8080/trunk/test/forum2/main.lzx?lzt=object&amp;lzt=object&amp;lzr=dhtml&amp;debug=true&amp;lzbacktrace=true"
 target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><br>
http://127.0.0.1:8080/trunk/test/forum2/main.lzx?lzt=object&amp;lzt=object&amp;lzr=dhtml&amp;debug=true&amp;lzbacktrace=true<br>
    </a><br>
Version: 4.1.x.0<br>
Release: Latest<br>
Build: 7031 C:\users\hqm\openlaszlo\trunk<br>
Date: 2007-10-28T20:54:17-0400<br>
    <br>
Target: dhtml<br>
Runtime: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<a
 moz-do-not-send="true" href="http://1.8.1.8" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)"><br>
1.8.1.8</a>) Gecko/20071008 Firefox/2.0.0.8<br>
    </span></span><span><span style="white-space: pre;"><span>lzx&gt; </span></span></span>
    <div><span class="e" id="q_115f1ea3cf133759_1"><br>
    <br>
    <div><span class="gmail_quote">On 10/30/07, <b
 class="gmail_sendername">
Rich Christiansen</b> &lt;<a moz-do-not-send="true"
 href="mailto:warproof@warproof.com" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">warproof@warproof.com</a>&gt;
wrote:</span>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm
currently dealing with the unpleasant headache of tracking various<br>
installations of different versions of my SOLO app.&nbsp;&nbsp;I've added<br>
functionality to display the version number of the app, but I'd also
      <br>
like to include a build number.&nbsp;&nbsp;In fact, I'd prefer to just use the<br>
time at which the app was built if that's possible.<br>
      <br>
How could I go about doing this?&nbsp;&nbsp;Some sort of preprocessing directive?<br>
      <br>
Thanks in advance! :)<br>
-Rich<br>
    </blockquote>
    </div>
    <br>
    <br clear="all">
    <br>
    </span></div>
    <span class="sg">-- <br>
Henry Minsky<br>
Software Architect<br>
    <a moz-do-not-send="true" href="mailto:hminsky@laszlosystems.com"
 target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hminsky@laszlosystems.com</a><br>
    <br>
    </span></blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Henry Minsky<br>
Software Architect<br>
  <a moz-do-not-send="true" href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br>
  <br>
</blockquote>
</body>
</html>