Hi Harbs,

thanks to your pointer I noticed, that usually the dependencies to other libs 
are configured in the condig.xml files, but some are injected using the 
command-line args, I streamlined that an now I was able to successfully run the 
asjs part on Core ... now I have to find out what's going wrong in the normal 
compilation part.

Chris
________________________________________
Von: Harbs <harbs.li...@gmail.com>
Gesendet: Mittwoch, 27. April 2016 09:57:46
An: dev@flex.apache.org
Betreff: Re: [ASJS] Merging to Maven

I’m not sure I’m correct here, but I think some of the projects are using 
specific compiler flags to compile correctly. I know this is true for the XML 
project (which I was working on). It needs the "-compiler.strict-xml=true” flag.

I’m not sure I’m making sense, but maybe it’s helpful to you…

On Apr 27, 2016, at 10:03 AM, Christofer Dutz <christofer.d...@c-ware.de> wrote:

> Hi,
>
>
> I'm continuing my work on migrating the flex ASJS project to build the parts 
> in "frameworks/projects" with Maven. Here I'm getting some strange errors, 
> that I don't quite understand and don't quite know how to resolve.
>
>
> I'll just post part of the errors from the compiler. Hopefully someone here 
> will point me in the right direction. The files are all in the 
> "feature/maven-migration" branch, so If you need a look at the config files, 
> just go there:
>
>
> [INFO] --- flexjs-maven-plugin:0.6.0-SNAPSHOT:compile-js (default-compile-js) 
> @ Core ---
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/Namespace.as:128
> Method marked override must override another method.
> override public function valueOf():*
>                        ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:226
> Implicit coercion of a value of type Application to an unrelated type Object.
>            ValuesManager.valuesImpl.init(this);
>                                          ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:331
> Implicit coercion of a value of type Application to an unrelated type Object.
> MXMLDataInterpreter.generateMXMLProperties(this, data);
>                                          ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:429
> Call to a possibly undefined method appendChild through a reference with 
> static type WrappedHTMLElement.
>                this.element.appendChild(c.element);
>                             ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:454
> Type was not found or was not a compile-time constant: NodeList.
>                var children:NodeList = internalChildren();
>                             ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:459
> Call to a possibly undefined method insertBefore through a reference with 
> static type WrappedHTMLElement.
>                    element.insertBefore(c.positioner,
>                            ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:481
> Type was not found or was not a compile-time constant: NodeList.
>                var children:NodeList = internalChildren();
>                             ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:503
> Type was not found or was not a compile-time constant: NodeList.
>                var children:NodeList = internalChildren();
>                             ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:533
> Call to a possibly undefined method removeChild through a reference with 
> static type WrappedHTMLElement.
>                element.removeChild(c.element);
>                        ^
>
> /Users/christoferdutz/Projects/Apache/Flex/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Application.as:551
> Type was not found or was not a compile-time constant: NodeList.
>                var children:NodeList = internalChildren();
>
> Any ideas?
>
>
> Chris
>

Reply via email to