Amy, Don, this is just related to the lzc behavior, but might interest you as well.
When using the lzdeploy utility from the command line, for --runtime=dhtml lzdeploy compiles the LZX file and includes the .js file in the .wgt zip package. For the SWF10 runtime, the *.lzx.swf10.swf file is generated, but NOT included in the .wgt file. When using the deploy wizard from the developer console, the user can select which files they want to include in the .wgt package, and if the *.lzx.swf10.swf file exists, it will be included by default. - Raju On Wed, Sep 21, 2011 at 9:43 PM, Amy Muntz <[email protected]> wrote: > > > ---------- Forwarded message ---------- > From: "Donald Anderson" <[email protected]> (JIRA) <[email protected]> > Date: Wed, Sep 21, 2011 at 2:01 PM > Subject: [JIRA] Resolved: (LPP-10064) Generated .swf10.swf file should not > be generated > > > > [ > http://jira.openlaszlo.org/jira/browse/LPP-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Donald Anderson resolved LPP-10064. > ----------------------------------- > > Fixed in Change#: 19454 > Actually Fixed In: 5.0 (TRUNK) > Resolution: Fixed > > r19454 | dda | 2011-09-21 14:00:12 -0400 (Wed, 21 Sep 2011) | 47 lines > Changed paths: > M > /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java > M > /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java > M > /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/Main.java > > Change dda-20110921-dvo by [email protected] on 2011-09-21 13:51:03 EDT > in /Users/dda/laszlo/src/svn/openlaszlo/trunk-a > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Do not generate <name>.lzx.swf10.swf when output file is changed > > New Features: > > Bugs Fixed: LPP-10064 (Generated .swf10.swf file should not be generated) > > Technical Reviewer: (pending) > QA Reviewer: (pending) > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Overview: > We don't want the extra *swf file generated when running with lzc > and output has been redirected to another directory. > > Details: > Henry believes that the SOLO deploy wizard needs this file: > > "I think maybe this was because at one point we wanted to make > sure that a .swf file would be written when you fetched an app for > SOLO deployment. I think that the SOLO deploy wizard expects to > compile an app to a .swf file that way, by fetching the URL and > seeing that this file is written as a side effect. > Can you check that if you fetch a file in the browser with > lzproxied=false, that a .lzx.swf file is still written out?" > > On the other hand, when compiled with lzc on the command line, > and either the -o (--output) or --dir option has been used, > we'll turn off creation of the *.swf10.swf file. Note that > using -o or --dir, a *.swf output file is already created, > (it is identical to the content of *.swf10.swf), so developers > have the output they need. > > Tests: > Run in the browser, observe that the file is created. > Run lzc with either -o, --dir option (or both) and observe > that the *.swf10.swf file is not created, but that the > requested *.swf file is created. > > >> Generated .swf10.swf file should not be generated >> ------------------------------------------------- >> >> Key: LPP-10064 >> URL: http://jira.openlaszlo.org/jira/browse/LPP-10064 >> Project: OpenLaszlo >> Issue Type: Bug >> Components: Compiler >> Affects Versions: 5.0 (TRUNK) >> Reporter: Amy Muntz >> Assignee: Donald Anderson >> Priority: P0 >> Fix For: 5.0 (TRUNK) >> >> >> Per RO: >> One strange thing I have noticed is that when I compile some lzx file >> say: /a/b/c.lzx and define as >> --dir /x/y --output z.swf >> I do get /x/y/z.swf but in addition to that I also get >> /a/b/c.lzx.swf10.swf >> And that messes my source code. >> Why is that generated? >> Isn't the temp folder enough? >> HM response: >> That's a bug, should have been fixed a long time ago but nobody got around >> to it! >> Maybe you could file a bug report, someone may get to it. > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://jira.openlaszlo.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > >
