flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: [FLEXJS] Problem compiling Core extern
Date Mon, 02 May 2016 19:29:06 GMT

Hi Alex,

I just had a look at the project, but I don't quite understand the reasoning behind the "CoreClasses"
class. In SWF files I know only the classes transitively referenced by the main class are
included, but for SWCs I always thought all classes were compiled as you never know which
classes are needed.

But even if it would work that way, why does the CSSTextFied have AS and JS blocks, if the
class is only included in AS ... I have to admit, that's a little confusing :-(

Von: Alex Harui <aharui@adobe.com>
Gesendet: Montag, 2. Mai 2016 05:54:54
An: dev@flex.apache.org
Betreff: Re: [FLEXJS] Problem compiling Core extern

On 5/1/16, 11:22 AM, "Christofer Dutz" <christofer.dutz@c-ware.de> wrote:

>I am currently working on migrating the compilation of externs for the
>core modules. Unfortunately I am having some trouble but I think the
>error message is valid.
>Error: The definition of base class TextField was not found.
>public class CSSTextField extends TextField
>                                 ^
>If I have a look at the code, the import to TextField is only done when
>compiling with COMPILE::AS set to true, but when compiling the extern,
>this is set to false and so no import for TextField is added. How does
>the ANT build do it?

The compile-as-config for core only includes the files mentioned in
basic-manifest.xml, and in CoreClasses.as, where CSSTextField is inside a
COMPILE::AS3 block, so the extern compile shouldn't even look at


View raw message