[Laszlo-checkins] r13163 - openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler

hqm@openlaszlo.org hqm at openlaszlo.org
Wed Mar 4 13:01:06 PST 2009


Author: hqm
Date: 2009-03-04 13:01:04 -0800 (Wed, 04 Mar 2009)
New Revision: 13163

Modified:
   openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java
Log:
Change 20090304-hqm-X by hqm at badtzmaru.home on 2009-03-04 13:31:36 EST
    in /Users/hqm/openlaszlo/trunk6
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix for compiling import libraries in swf9

New Features:

Bugs Fixed: LPP-7735

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
+ need to set the "incremental" flag when compiling the import libs, otherwise
the script compiler clean out the working directory, which will cause link errors
when globals are referenced.  

Tests:

lzc --runtime=swf9 test/snippets/import-class.lzx

should compile without error, and the two import libs should compile
to small (< 2 kbytes) size. 



Modified: openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java	2009-03-04 20:12:44 UTC (rev 13162)
+++ openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java	2009-03-04 21:01:04 UTC (rev 13163)
@@ -521,8 +521,7 @@
 
         Properties props = (Properties)mProperties.clone();
 
-        // TODO [hqm 2009-01] make this a compiler command line option
-        props.put(org.openlaszlo.sc.Compiler.INCREMENTAL_COMPILE, LPS.getProperty("compiler.swf9.incremental"));
+        props.put(org.openlaszlo.sc.Compiler.INCREMENTAL_COMPILE, "true");
 
         // Pass in the table of lzx class defs
         props.setProperty(org.openlaszlo.sc.Compiler.SWF9_APPLICATION_PREAMBLE, makeLibraryPreamble());



More information about the Laszlo-checkins mailing list