If you're trying to generate a deployment archive, you need to use lzdeploy
utility.

First compile the .js file with lzc, then use lzdeploy to make the zip file,
it will zip up the whole directory (recursively) and add in the LFC and any
external resources.



On Tue, Mar 1, 2011 at 8:35 AM, Raju Bitter <
[email protected]> wrote:

> Henry, when I compile an LZX file on the command line, using the
> "output" option, the generated ZIP is invalid.
>
> ringo:test raju$ lzc canvas.lzx --runtime=dhtml --output app.zip
> Compiling: canvas.lzx to app.zip
> ringo:test raju$ unzip app.zip
> Archive:  app.zip
>  End-of-central-directory signature not found.  Either this file is not
>  a zipfile, or it constitutes one disk of a multi-part archive.  In the
>  latter case the central directory and zipfile comment will be found on
>  the last disk(s) of this archive.
> unzip:  cannot find zipfile directory in one of app.zip or
>        app.zip.zip, and cannot find app.zip.ZIP, period.
>
> Tried this with an empty canvas file.
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to