[Laszlo-dev] filename aliasing bug with loadable libraries in swf8/swf9 runtimes
Max Carlson
max at openlaszlo.org
Wed Jan 14 21:17:40 PST 2009
This sounds like a good reason to include the version number in the
filename like we do with SOLO...
Henry Minsky wrote:
> 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.
>
>
>
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list