<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Good stuff. &nbsp;&nbsp;In build.xml,<div><div><div><br></div><div>+ &nbsp; &nbsp; &nbsp;if (v == 9) {</div><div>+ &nbsp; &nbsp; &nbsp; &nbsp; shlibopt += "--option SWF9MainClassName=LFCApplication ";</div><div>+ &nbsp; &nbsp; &nbsp;}</div><div><br></div><div>looks like you also need&nbsp;--option SWF9WrapperClassName=LzSpriteApplication to match buildlfc* scripts.</div><div><br></div><div>Otherwise approved.</div><div>&nbsp;</div><div>Just curious why LzLibrary has a sprite? &nbsp;Does that allow you to detect when the library has finished loading?</div><div><br></div><div>- Don</div><div><br></div><div><div>On Nov 17, 2008, at 5:06 PM, Henry Minsky wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Change 20081117-hqm-H by <a href="mailto:hqm@badtzmaru.home">hqm@badtzmaru.home</a> on 2008-11-17 16:58:08 EST<br> &nbsp;&nbsp;&nbsp;in /Users/hqm/openlaszlo/trunk4<br> &nbsp;&nbsp;&nbsp;for <a href="http://svn.openlaszlo.org/openlaszlo/trunk">http://svn.openlaszlo.org/openlaszlo/trunk</a><br><br>Summary: refactor swf9 compilation to prepare for loadable libraries<br><br>New Features:<br><br>Bugs Fixed: LPP-7184<br><br>Technical Reviewer: dda<br>QA Reviewer: ptw<br>Doc Reviewer: (pending)<br><br>Documentation:<br><br>Release Notes:<br><br>Details:<br><br>+ make SWF9Writer pass in boilerplate swf9 application code to the script compiler<br><br>This will allow SWF9Writer to generate an "application" skeleton class<br>for each &lt;import> module, which will copy all the exported classes<br>from the module into the lz namespace object in the main app.<br><br>+ define a version of LzLibary in SWF9 kernel, not yet working, just a placeholder<br><br>+ start adding code to class compiler to keep a list of which classes are defined in<br>a compilation environment, and what their tag names are, so that these can be<br>explicitly copied from &lt;import> apps into the main app<br><br><br>loadable modules don't work yet, this is just getting the substrate ready<br><br><br>Tests:<br><br>+ swf9 LFC and debug-LFC compiles in swf9, via ant and buildlfc, buildlfcdebug<br><br>+ test/smoke/smokecheck in swf8 and swf9 still work<br><br>+ debug evaluator still able compile statements and expressions on the server in swf9<br><br><br><br><br>Files:<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/lfc/kernel/swf9/Library.lzs<br>A &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/lfc/kernel/swf9/LzLibrary.as<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/lfc/kernel/Library.lzs<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/lfc/buildlfc<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/lfc/buildlfcdebug<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/lfc/build.xml<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/sc/lzsc.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/sc/CodeGenerator.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/compiler/ObjectWriter.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/compiler/ImportCompiler.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java<br>M &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java<br><br><br>Changeset: <a href="http://svn.openlaszlo.org/openlaszlo/patches/20081117-hqm-H.tar">http://svn.openlaszlo.org/openlaszlo/patches/20081117-hqm-H.tar</a><br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">--</div><div><br>Don Anderson<br>Java/C/C++, Berkeley DB, systems consultant<br><br>voice: 617-547-7881<br>email:&nbsp;<a href="mailto:dda@ddanderson.com">dda@ddanderson.com</a><br>www:&nbsp;<a href="http://www.ddanderson.com/">http://www.ddanderson.com</a><br></div></div></span></span><br class="Apple-interchange-newline"></div></span></div></span><br class="Apple-interchange-newline"> </div><br></div></div></body></html>