Change 20070208-ptw-x by [EMAIL PROTECTED] on 2007-02-08
19:29:46 EST
in /Users/ptw/OpenLaszlo/trunk
Summary: Binary Library tweaks
Bugs Fixed:
LPP-NaN: Compiler chokes if library.lzx does not exist, even if
library.lzo does
LPP-NaN: Compiler does not recompile app if library.lzo changes
Technical Reviewer: henry (pending)
QA Reviewer: pablo (pending)
Doc Reviewer: n/a
Details:
CompilationManager: add flag for resolving Library files.
LibraryCompiler: remove redundant resolveLibraryName.
ToplevelCompiler, SWFWriter: Use new
CompilationEnvironment.resolveLibrary
method.
FileResolver: Add an option to resolve using the 'library rules'
(if a directory is passed add library.lzx, look for library.lzo
first).
CompilationEnvironment: Add new resolveLibrary method, let
resolveReference take a third argument specifying library
resolution, default to element being an include element.
ImportCompiler, Parser: resolve as library.
StyleSheetCompiler: use environment resolve interface.
Tests:
henry's simple library test
smokecheck
Files:
M WEB-INF/lps/server/src/org/openlaszlo/cm/CompilationManager.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/
LibraryCompiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/
ToplevelCompiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/FileResolver.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/
CompilationEnvironment.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/
ImportCompiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/
StyleSheetCompiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/Parser.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070208-ptw-
x.tar