[Laszlo-dev] filename aliasing bug with loadable libraries in swf8/swf9 runtimes

Henry Minsky hminsky at laszlosystems.com
Tue Jan 13 09:05:14 PST 2009


Note of warning, the compiler handles <import> libraries by writing
the binaries for the libraries in a subdirectory
called "build". Unfortunately, the filename extension for the binaries
is the same for swf8,swf9, and swf10, e.g.,
mylibrary.lzx.swf

So that means if you compile an app that uses loadable libraries in
swf8, and then recompile it in swf9, and then
try to run it in swf8 again, the compiler will think it doesn't need
recompiling (the main app hasn't been modified), but
it will load the swf9 library binaries.

I'll file a bug on this, but be warned, you will need to clear the
compiler cache before recompiling an app that uses
loadable libraries in a different swf runtime, if you haven't modified
the source code between compiles.



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-dev mailing list