I thought lzc --output would generate the Zip file directly.
On Tue, Mar 1, 2011 at 2:53 PM, Raju Bitter
<[email protected]> wrote:
> Oh, right, I missed that step! I actually used that in the Ant build
> script for the widget POC.
>
> On Tue, Mar 1, 2011 at 2:39 PM, Henry Minsky <[email protected]>
> wrote:
>> 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]
>>
>>
>>
>