Adding that to Additional Compiler Options causes a whole heap of different
errors and warnings. And the Hello World page does not appear in the
browser.

These are the errors -

WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:93:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:  * @type {org.apache.flex.core.WrappedHTMLElement}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:93:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:  * @type {org.apache.flex.core.WrappedHTMLElement}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:280:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   * @type {org.apache.flex.core.WrappedHTMLElement} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/IRenderedObject.js:27:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
: /**  * @type {org.apache.flex.core.WrappedHTMLElement}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/IViewportModel.js:29:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
: /**  * @type {org.apache.flex.geom.Rectangle}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:575:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:  * @type {org.apache.flex.core.WrappedHTMLElement}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:867:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ e =
document.body;

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:895:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ p =
this.positioner.parentNode;

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:1008:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   * @type {org.apache.flex.core.WrappedHTMLElement} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:1025:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   * @type {org.apache.flex.core.WrappedHTMLElement} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/Alert.js:98:
WARNING - Bad type annotation. extra @override/@inheritDoc tag. See
https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for more
information.
:  * @override

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:37:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:  * @type {org.apache.flex.geom.Rectangle}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:44:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:  * @type {org.apache.flex.geom.Rectangle}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:84:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:   * @type {org.apache.flex.geom.Rectangle} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:90:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:   * @type {org.apache.flex.geom.Rectangle} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/supportClasses/Viewport.js:93:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Size.
:  * @param {org.apache.flex.geom.Size} contentSize

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/net/remoting/amf/AMFBinaryData.js:1213:
WARNING - unreachable code
:   return null;

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/getClassByAlias.js:8:
WARNING - Parse error. duplicate @suppress tag
:  * @suppress {checkTypes|accessControls}

: WARNING: 0 error(s), 17 warning(s), 97.4% typed
: Sep 15, 2017 3:31:07 PM com.google.javascript.jscomp.LoggerErrorManager
println
: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:280:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   * @type {org.apache.flex.core.WrappedHTMLElement} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/IRenderedObject.js:27:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
: /**  * @type {org.apache.flex.core.WrappedHTMLElement}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/IViewportModel.js:29:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
: /**  * @type {org.apache.flex.geom.Rectangle}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:575:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:  * @type {org.apache.flex.core.WrappedHTMLElement}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:867:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ e =
document.body;

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:895:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ p =
this.positioner.parentNode;

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:1008:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   * @type {org.apache.flex.core.WrappedHTMLElement} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:1025:
WARNING - Type annotation references non-existent type
org.apache.flex.core.WrappedHTMLElement.
:   * @type {org.apache.flex.core.WrappedHTMLElement} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/Alert.js:98:
WARNING - Bad type annotation. extra @override/@inheritDoc tag. See
https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for more
information.
:  * @override

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:37:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:  * @type {org.apache.flex.geom.Rectangle}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:44:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:  * @type {org.apache.flex.geom.Rectangle}

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:84:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:   * @type {org.apache.flex.geom.Rectangle} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/beads/models/ViewportModel.js:90:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Rectangle.
:   * @type {org.apache.flex.geom.Rectangle} */

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/supportClasses/Viewport.js:93:
WARNING - Type annotation references non-existent type
org.apache.flex.geom.Size.
:  * @param {org.apache.flex.geom.Size} contentSize

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/net/remoting/amf/AMFBinaryData.js:1213:
WARNING - unreachable code
:   return null;

: WARNING: C:/My
Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/getClassByAlias.js:8:
WARNING - Parse error. duplicate @suppress tag
:  * @suppress {checkTypes|accessControls}
:                                        ^
: : WARNING: 0 error(s), 17 warning(s), 97.4% typed
: Project Build Successfully
: The project 'Test' has been successfully compiled and optimized.
: 13.920425195 seconds

Looks to me like there's something pretty fundamental wrong with the set up.

Doug



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/

Reply via email to