If you haven't reviewed this yet, hang on , I have another idea for a fix
that I'm trying out...

On 6/8/07, Henry Minsky <[EMAIL PROTECTED]> wrote:


Change 20070608-hqm-4 by [EMAIL PROTECTED] on 2007-06-08 11:10:51 EDT
    in /cygdrive/c/users/hqm/openlaszlo/legals3
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: fix for LPP-4084, import of snippets doesn't work across web
contexts

New Features:

Bugs Fixed: LPP-4084

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

Documentation:

Release Notes:

Details:

A user reported that an app which uses the <import> tag was unable to
load a runtime libary if the app and library were being loaded from a
different
"web context". The bug is due to the ImportAssets tag which I added to
snippets,
which has a hardcoded path compiled into it, in order to load fonts at
runtime.
This seems like a bad idea now. This patch only does the ImportAssets hack

if the snippet library declares font resources, which most people's don't.




Tests:
test case from bug report


Files:

M      WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070608-hqm-4.tar
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to