I also have a few questions:
1. Why does every project in framework/projects reference airglobal instead of 
playerglobal?
2. Why to we reference air, but set the playerversion?
3. Every module has one config vor actionscript and one for javascript 
compilation, why does "Charts" have 4 of them?

Chris
________________________________________
Von: Christofer Dutz <[email protected]>
Gesendet: Mittwoch, 27. April 2016 09:03:38
An: '[email protected]'
Betreff: [ASJS] Merging to Maven

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