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.



On 10/30/07, Rich Christiansen <[EMAIL PROTECTED]> wrote:
>
>  Thanks for the response, Henry!
>
> 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?
>
> -Rich
>
> 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]
>
>


-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to