approved

I'll look at why recompiling with different debug flag doesn't seem to
replace the library file on disk properly

On 6/18/07, Max Carlson <[EMAIL PROTECTED]> wrote:

Change 20070618-maxcarlson-L by [EMAIL PROTECTED] on 2007-06-18
14:06:31 PDT
     in /Users/maxcarlson/openlaszlo/legals-clean
     for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: UPDATED: add DHTML loadable library support to server

New Features:

Bugs Fixed:

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

Documentation:

Release Notes:

Details: compiles a .js library file in the usual place (build/
appname/libname.js) .  Henry: note that this fails to recompile if
the library if compiled in debug mode, it fails on load for a non-
debug mode run of the app.  Libraries should probably always be
compiled as non-debug.

This change implements all the required client code.

Tests: http://localhost:8080/legals-clean/test/snippets/import-
view.lzx?lzr=dhtml&lzt=html now runs.  http://localhost:8080/legals-
clean/test/snippets/import-view.lzx?lzr=dhtml&debug=true followed by
http://localhost:8080/legals-clean/test/snippets/import-view.lzx?
lzr=dhtml&lzt=html fails.

Files:
A      WEB-INF/lps/lfc/kernel/dhtml/LzLibrary.js
M      WEB-INF/lps/lfc/kernel/dhtml/Library.lzs
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/ObjectWriter.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/DHTMLWriter.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/
ImportCompiler.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java
M      lps/includes/source/embednew.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070618-
maxcarlson-L.tar




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to