Try adding the -remove-circulars compiler option.

HTH,
-Alex

On 9/14/17, 11:30 PM, "doug777" <doug777...@gmail.com> wrote:

>This is my simple tester:
>
><js:Application 
>xmlns:fx="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F
>ns.adobe.com%2Fmxml%2F2009&data=02%7C01%7C%7C855a3c62c8be4582d57708d4fc035
>0a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636410538543837063&sdata=
>UsQqkJJLAF4TSvGhac28RTugz4%2FghQPUcmc06tX%2FAMw%3D&reserved=0"
>       xmlns:js="library://ns.apache.org/flexjs/basic"
>       xmlns:local="*"
>       pageTitle="HelloWorld" xmlns:ns="library://ns.apache.org/flexjs/html5"
>initialize="init()">
>                          
>       <fx:Declarations>
>               <js:RemoteObject id="roSTime" destination="ColdFusion"  
>source="localhost:8500.mysite.STime"
>result="roCheckTestResultHandler(event)"       fault="roFaultHandler(event)"/>
>               
>       </fx:Declarations>
>               
>       <fx:Script>
>               
>       </fx:Script>
>       
>       <js:valuesImpl>
>               <js:SimpleCSSValuesImpl />
>       </js:valuesImpl>
>       
>       <js:initialView>
>               <js:View width="1200" height="800">
>                       <js:Container width="100%" height="100%" >
>                               <js:Label id="lbl" text="Hello World" 
> width="200" />
>                       </js:Container> 
>               </js:View>
>       </js:initialView>
>       
> </js:Application>
>
>When I Build and Run as Javascript, Hello World appears in the browser.
>But
>there are several errors:
>
>WARNING: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/Alert.js:104:
>WARNING - Bad type annotation. extra @override/@inheritDoc tag. See
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co
>m%2Fgoogle%2Fclosure-compiler%2Fwiki%2FBad-Type-Annotation&data=02%7C01%7C
>%7C855a3c62c8be4582d57708d4fc0350a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>%7C0%7C636410538543837063&sdata=tiyjOFpq%2Fwu5hE9USxL7lqDSB05grrdGCOD0oB89
>cn0%3D&reserved=0 for more
>information.
>:
>: WARNING: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/Alert.js:104:
>WARNING - Bad type annotation. extra @override/@inheritDoc tag. See
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co
>m%2Fgoogle%2Fclosure-compiler%2Fwiki%2FBad-Type-Annotation&data=02%7C01%7C
>%7C855a3c62c8be4582d57708d4fc0350a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0
>%7C0%7C636410538543837063&sdata=tiyjOFpq%2Fwu5hE9USxL7lqDSB05grrdGCOD0oB89
>cn0%3D&reserved=0 for more
>information.
>
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/AccessorD
>efinition.js:12:
>ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
>provided yet
>: goog.require('org.apache.flex.reflection.TypeDefinition');
>: : 
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/AccessorD
>efinition.js:13:
>ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
>not provided yet
>: goog.require('org.apache.flex.reflection.VariableDefinition');
>: : 
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/MethodDef
>inition.js:14:
>ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
>provided yet
>: goog.require('org.apache.flex.reflection.TypeDefinition');
>: 
>: : SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/Parameter
>Definition.js:13:
>ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
>provided yet
>: goog.require('org.apache.flex.reflection.TypeDefinition');
>
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/TypeDefin
>ition.js:15:
>ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
>not provided yet
>: goog.require('org.apache.flex.reflection.VariableDefinition');
>
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/AccessorD
>efinition.js:12:
>ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
>provided yet
>: goog.require('org.apache.flex.reflection.TypeDefinition');
>
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/AccessorD
>efinition.js:13:
>ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
>not provided yet
>: goog.require('org.apache.flex.reflection.VariableDefinition');
>
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/MethodDef
>inition.js:14:
>ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
>provided yet
>: goog.require('org.apache.flex.reflection.TypeDefinition');
>
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/Parameter
>Definition.js:13:
>ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
>provided yet
>: goog.require('org.apache.flex.reflection.TypeDefinition');
>
>: SEVERE: C:/My
>Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/TypeDefin
>ition.js:15:
>ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
>not provided yet
>: goog.require('org.apache.flex.reflection.VariableDefinition');
>
>: WARNING: 5 error(s), 1 warning(s)
>: Project Build Successfully
>: The project 'Test' has been successfully compiled and optimized.
>
>Im not sure I need to add CF as a resource and not sure how to do that
>anyway. Surely it should find CF from its localhost path anyway?
>
>Is there something missing from the Moonshine Build Options settings. Here
>is the page :
>
><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>ex-users.2333346.n4.nabble.com%2Ffile%2Ft784%2FBuild_Options.png&data=02%7
>C01%7C%7C855a3c62c8be4582d57708d4fc0350a8%7Cfa7b1b5a7b34438794aed2c178dece
>e1%7C0%7C0%7C636410538543837063&sdata=Zy2xYvoHMQ2zUdjcN7DgtZv72kqcqcX2aZzV
>fSBTCVs%3D&reserved=0>
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2F&data=02%7C01%7C%7C855a3c62c8be4582d57708d
>4fc0350a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636410538543837063&
>sdata=52dxY1gdUNTWEGg6Jz40uVoRr3fBasxlPjpP0o1FCuI%3D&reserved=0

Reply via email to