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

Henry Minsky henry.minsky at gmail.com
Wed Jan 14 21:19:59 PST 2009


yeah, I will file a bug for that.


On Thu, Jan 15, 2009 at 12:17 AM, Max Carlson <max at openlaszlo.org> wrote:
> 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
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-dev mailing list