Approved!

On 7/28/10 8:39 PM, Henry Minsky wrote:
Change 20100728-hqm-R by [email protected] on 2010-07-28 23:09:24 EDT
     in /Users/hqm/openlaszlo/trunk3
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  compiling snippets in swf10 fails in some cases

New Features:

Bugs Fixed: LPP-9248

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

Documentation:

Release Notes:

Overview:

Recently code was added to delete 'unknown' .as files from the as3 tmp
working dir when compiling in "incremental mode".

However the ImportCompiler also uses incremental mode, expecting that
when it compiles each loadable library, they will be able to link
against the classes from the main app. So we can't scrub the working
directory in that case before each library is compiled.

Details:

Changed to SWF9External.compileTranslationUnits() to skip deleting
unknown .as files when compiling in SNIPPET mode.

Tests:

compile test case in snippets test dir for swf10

cd test/snippets
lzc --runtime=swf10 import-component.lzx

should compile with no errors

Files:
M       WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100728-hqm-R.tar

--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to