I ran into a bug with the lzdepoy tool for the SWF10 runtime. It's in
JIRA already, with a fix suggestion in the comment.
http://jira.openlaszlo.org/jira/browse/LPP-9795

On Tue, Mar 1, 2011 at 3:34 PM, Henry Minsky <[email protected]> wrote:
>  lzc only generates a .js or .swf file, it does not attempt to package up
> any of the
> other files in the app directory.
>
>  For swf apps, the .swf  will contain  embedded assets , but for deployment
> you
> still need the wrapper html file and script includes for the wrapper, and
> lzdeploy
> is responsible for grabbing that stuff and zipping it up.
>
>
> On Tue, Mar 1, 2011 at 8:58 AM, Raju Bitter
> <[email protected]> wrote:
>>
>> 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]
>> >>
>> >>
>> >>
>> >
>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>

Reply via email to