The debug version is formatted to the debug console (and only
available in debug). The canvas version is available in all apps and
returns a string that can be displayed by your application.
Maybe file an improvement request to add the app compile timestamp to
that info...
On 2007-10-30, at 13:22 EDT, Henry Minsky wrote:
The actual call to get the info as a string is
LzCanvas.versionInfoString()
On 10/30/07, Henry Minsky <[EMAIL PROTECTED]> wrote:
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:
Debug.versionInfo ()
will return a string like this
Debug.versionInfo
lzx> Debug.versionInfo
()
URL:
http://127.0.0.1:8080/trunk/test/forum2/main.lzx?lzt=object&lzt=object&lzr=dhtml&debug=true&lzbacktrace=true
Version: 4.1.x.0
Release: Latest
Build: 7031 C:\users\hqm\openlaszlo\trunk
Date: 2007-10-28T20:54:17-0400
Target: dhtml
Runtime: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.8.1.8)
Gecko/20071008 Firefox/2.0.0.8
lzx>
On 10/30/07, Rich Christiansen <[EMAIL PROTECTED]> wrote:
I'm currently dealing with the unpleasant headache of tracking
various
installations of different versions of my SOLO app. I've added
functionality to display the version number of the app, but I'd also
like to include a build number. In fact, I'd prefer to just use the
time at which the app was built if that's possible.
How could I go about doing this? Some sort of preprocessing
directive?
Thanks in advance! :)
-Rich
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]