This is my simple tester: <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 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://github.com/google/closure-compiler/wiki/Bad-Type-Annotation 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://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for more information. : SEVERE: C:/My Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/AccessorDefinition.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/AccessorDefinition.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/MethodDefinition.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/ParameterDefinition.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/TypeDefinition.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/AccessorDefinition.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/AccessorDefinition.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/MethodDefinition.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/ParameterDefinition.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/TypeDefinition.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 : <http://apache-flex-users.2333346.n4.nabble.com/file/t784/Build_Options.png> -- Sent from: http://apache-flex-users.2333346.n4.nabble.com/