flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <piotrzarzyck...@gmail.com>
Subject Re: FlexJS RemoteObject with ColdFusion
Date Fri, 15 Sep 2017 06:37:08 GMT
Doug,

Try to check in the settings where you are pointing path to the source
folder. I don't have capability to check in Moonshine your problem, cause
I'm travelling till the Sunday. If the question will be more urgent you can
try to specify it in our GIT repository as an issue [1].

[1] https://github.com/prominic/Moonshine-IDE/issues

Thanks,
Piotr


2017-09-15 8:30 GMT+02:00 doug777 <doug777twn@gmail.com>:

> 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/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message