Yes, if you have a "static" dataset, whose source is from a file in the filesystem, it will be compiled in to the app as javascript code. <br><br><br><br><div><span class="gmail_quote">On 10/30/07, <b class="gmail_sendername">
Rich Christiansen</b> <<a href="mailto:warproof@warproof.com">warproof@warproof.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div 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. Every time I release a new
version, I release it in a few different flavors, each with slight
modifications. 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><span class="sg">
<br>
-Rich<br>
</span></font></font><div><span class="e" id="q_115f1f311f913739_3"><br>
Henry Minsky wrote:
<blockquote 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> <<a href="mailto:henry.minsky@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
henry.minsky@gmail.com</a>> 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 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 title="Inspect «Function(0)#17| Debug.ve...»">Debug.versionInfo<br>
</a></span></span><span><span style="white-space: pre;"><br>
</span></span><span><span style="white-space: pre;"><span>lzx> </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 href="http://127.0.0.1:8080/trunk/test/forum2/main.lzx?lzt=object&lzt=object&lzr=dhtml&debug=true&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&lzt=object&lzr=dhtml&debug=true&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 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> </span></span></span>
<div><span><br>
<br>
<div><span class="gmail_quote">On 10/30/07, <b class="gmail_sendername">
Rich Christiansen</b> <<a href="mailto:warproof@warproof.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">warproof@warproof.com</a>>
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. I've added<br>
functionality to display the version number of the app, but I'd also
<br>
like to include a build number. 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? Some sort of preprocessing directive?<br>
<br>
Thanks in advance! :)<br>
-Rich<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
</span></div>
<span>-- <br>
Henry Minsky<br>
Software Architect<br>
<a 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 href="mailto:hminsky@laszlosystems.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hminsky@laszlosystems.com</a><br>
<br>
</blockquote>
</span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>