Hi Alex, I am actually having problems on all levels. When compiling the JavaScript from the ActionScript I have a problem with CSSTextField as this is missing the TextField declaration. If I comment out the COMPILE::JS it works ... this is the same problem I am having for compiling the extern for Core.
The Problem I am having with compiling the ActionScript code to SWC is in ApplicationBase in code that's marked COMPILE::AS3 so I guess in general I am piping the right code into the different parts of the compiler. Chris ________________________________________ Von: Alex Harui <aha...@adobe.com> Gesendet: Mittwoch, 4. Mai 2016 02:28:31 An: dev@flex.apache.org Betreff: Re: AW: AW: [FLEXJS] Problem compiling Core extern BTW, after a closer look, the code you are commenting out is in COMPILE::AS3 blocks which should be false for building an externs swc. -Alex On 5/3/16, 1:06 PM, "Alex Harui" <aha...@adobe.com> wrote: >If you are going to comment out code, please work in the maven-migration >branch so we don't break everyone else. > >-Alex > >On 5/3/16, 12:06 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: > >> >>Ok so now I started commenting out stuff that was causing problems, >>hoping to solve the problems in paralell. In order to compile Binding, I >>had to comment out >>Line 258 and 259 of WatcherBase, because I was getting: >> >>/Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/ >>B >>inding/src/main/flex/org/apache/flex/binding/WatcherBase.as:258 >>Error: Access of possibly undefined property errorID through a reference >>with static type Error. >> if (allowedErrors.indexOf(error.errorID) == -1) >> >>Continuing with Graphics now ... >> >>Chris >>________________________________________ >>Von: Alex Harui <aha...@adobe.com> >>Gesendet: Dienstag, 3. Mai 2016 00:08:55 >>An: dev@flex.apache.org >>Betreff: Re: AW: [FLEXJS] Problem compiling Core extern >> >>On 5/2/16, 12:29 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: >> >>> >>>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. >> >>That's mostly true, but there are exceptions. In some cases a file may >>be >>included in other files and thus not actually a class, in FlexJS, some >>classes are only needed on one platform or the other. >> >>> >>>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 :-( >> >>Not sure why it has a JS block. We've played with different ways of >>dealing with platform-specific code. >> >>-Alex >> >