On 5/1/16, 11:22 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
>Hi, > > >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. > > >/Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/C >ore/src/main/flex/org/apache/flex/core/CSSTextField.as:160 >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 CSSTextField. HTH, -Alex