I filed a JIRA bug to track the doc issue:
http://jira.openlaszlo.org/jira/browse/LPP-10104

On Mon, Oct 31, 2011 at 12:22 AM, Raju Bitter <
[email protected]> wrote:

> Someone in the forums asked what a *.lzi file is:
> http://forum.openlaszlo.org/showthread.php?p=47956#post47956
>
> Looks like the documentation is not correct:
> http://www.openlaszlo.org/lps4.9/docs/developers/compiler.html#d0e125907
>
> | Say the application to be compiled is
> | $LPS_HOME/laszlo-explorer/basics/mediatst.lzx
> |
> |  To compile it correctly you would set the current directory first:
> |
> | cd $LPS_HOME;
> | and then compile using
> |
> | lzc --script --runtime=dhtml laszlo-explorer/basics/mediatst.lzx;
>
>
> 1) Why should the --script option be used with lzc? That's not going
> to generate the SWF/JS file.
> The correct command would be
> lzc --runtime=dhtml laszlo-explorer/basics/mediatst.lzx
>
> 2) The lzc command help states for the -S option:
>  -S | --script
>      Writes JavaScript to .lzs file.
>
> That's not true, the generated file is an .lzi file (looks like an
> intermediate file generated during compilation):
> Dolores:tmp raju$ lzc -S test.lzx
> Compiling: test.lzx to test.lzi
>

Reply via email to