Thanks, Frank.

The problem I have is that the source code in
WEB-INF/lps/lfc/kernel/swf9 is not compatible with the swf11 runtime.
That means, I need two versions of the ActionScript 3 based kernel,
e.g.

WEB-INF/lps/lfc/kernel/swf10 (for the swf10 runtime)
WEB-INF/lps/lfc/kernel/swf11 (for the swf11 runtime)

I've already tracked down that the "lzl" Ant target in
WEB-INF/lps/lfc/build.xml calls the org.openlaszlo.sc.Main, which then
calls org.openlaszlo.sc.lzsc#compile(String[]). In the process of
compiling the LFC SWC file, the kernel files are written into the
/tmp/lzswf9/*** folder. The files are written in the method
SWF9Generator.makeTranslationUnits(SimpleNode translatedNode, boolean
compress, boolean obfuscate)

I suspect that - when the parse tree is created - the kernel files are
read/parsed in some way. But I need to know how that mechanism could
be modified to read from a different folder dependent on the runtime
value.

Maybe Don knows where that exactly is, since he has been working on
the parser, as far as I know.

Thanks again,

Raju

Reply via email to