If he should in his stack trace is indication of main class being non mx.
What's more if that's the case the only thing which should be done is add
config "flex" for compiler and we are done. This is now part of Moonshine
ide file which I have committed.

On Fri, Sep 25, 2020, 4:07 PM Carlos Rovira <[email protected]> wrote:

> Hi Piotr,
>
> he should me using the one in mxroyale.
> In general we always point to using mx emulation since it is the one that
> is really fully working.
>
> El vie., 25 sept. 2020 a las 15:16, Piotr Zarzycki (<
> [email protected]>) escribió:
>
>> I did update file for Moonshine IDE [1] - It's building for me without
>> the problem.
>>
>> [1]
>> https://github.com/apache/royale-asjs/tree/develop/examples/royale/RemoteObjectAMFTest
>>
>> pt., 25 wrz 2020 o 15:01 Piotr Zarzycki <[email protected]>
>> napisał(a):
>>
>>> Carlos,
>>>
>>> He is using this example [1] or this one [2] ?
>>>
>>> [1]
>>> https://github.com/apache/royale-asjs/tree/develop/examples/royale/RemoteObjectAMFTest
>>> [2]
>>> https://github.com/apache/royale-asjs/tree/develop/examples/mxroyale/RemoteObjectAMFTest
>>>
>>> Thanks,
>>> Piotr
>>>
>>> pt., 25 wrz 2020 o 14:58 Piotr Zarzycki <[email protected]>
>>> napisał(a):
>>>
>>>> I see that you are using Royale 0.9.7 - please download Nightly build
>>>> 0.9.8. I recommend you to first download Nightly build of Moonshine (
>>>> Moonshine-3.0.0.exe
>>>> <https://moonshine-ide.com/downloads/releases/dev/windows/Moonshine-3.0.0.exe>
>>>>
>>>>  ) [1] and next on Getting Started helper download SDK.
>>>>
>>>> [1] https://moonshine-ide.com/downloads/releases/dev/windows/
>>>>
>>>>
>>>>
>>>> pt., 25 wrz 2020 o 14:33 wkoch <[email protected]> napisał(a):
>>>>
>>>>>
>>>>> Didn't work.
>>>>>
>>>>> : Compiling RemoteObjectTest
>>>>> : Using Royale Compiler codebase:
>>>>> "C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs"
>>>>> : Using Royale SDK:
>>>>> "C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs"
>>>>> : MXMLJSC
>>>>> :
>>>>>
>>>>> -sdk-js-lib=C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\frameworks\js\Royale\generated-sources
>>>>> : -load-config+=obj/RemoteObjectTestConfig.xml
>>>>> :
>>>>>
>>>>> -compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;
>>>>> : -debug=false
>>>>> : -services
>>>>> : C:\MoonshineW\flex\services-config.xml
>>>>> : -html-output-filename=rRO_Test.cfm
>>>>> : -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>>>> : -html-template=src/resources/jewel-index-template.html
>>>>> : -library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>>>> : -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>>>> : -compiler.targets=JSRoyale
>>>>> : -js-output=C:\MoonshineW\RemoteObjectTest
>>>>> : C:\MoonshineW\RemoteObjectTest\src\RemoteObjectTest.mxml(2): col: 1
>>>>> Error:
>>>>> This tag could not be resolved to an ActionScript class. It will be
>>>>> ignored.
>>>>> :
>>>>> : <j:Application  xmlns:f="http://ns.adobe.com/mxml/2009";
>>>>> : ^
>>>>> :
>>>>> : 1.4274292 seconds
>>>>>
>>>>> produced
>>>>>
>>>>> : Compiling RemoteObjectTest
>>>>> : Using Royale Compiler codebase:
>>>>> "C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs"
>>>>> : Using Royale SDK:
>>>>> "C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs"
>>>>> : MXMLJSC
>>>>> :
>>>>>
>>>>> -sdk-js-lib=C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\frameworks\js\Royale\generated-sources
>>>>> : -load-config+=obj/RemoteObjectTestConfig.xml
>>>>> :
>>>>>
>>>>> -compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;
>>>>> : -debug=false
>>>>> : -services
>>>>> : C:\MoonshineW\flex\services-config.xml
>>>>> : -html-output-filename=RO_Test.cfm
>>>>> : -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>>>> : -html-template=src/resources/jewel-index-template.html
>>>>> : -library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>>>> : -js-library-path=${royalelib}/js/libs/MXRoyaleJS.swc
>>>>> : -compiler.targets=JSRoyale
>>>>> : -js-output=C:\MoonshineW\RemoteObjectTest
>>>>> : C:\MoonshineW\RemoteObjectTest\src\RemoteObjectTest.mxml(2): col: 1
>>>>> Error:
>>>>> This tag could not be resolved to an ActionScript class. It will be
>>>>> ignored.
>>>>> :
>>>>> : <j:Application  xmlns:f="http://ns.adobe.com/mxml/2009";
>>>>> : ^
>>>>>
>>>>> However this did compile.
>>>>>
>>>>>
>>>>> -compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;
>>>>> -debug=false -services "C:\MoonshineW\flex\services-config.xml"
>>>>> -html-output-filename=RO_Test.cfm
>>>>> -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>>>>> -html-template=src/resources/jewel-index-template.html
>>>>> -library-path=${royalelib}/js/libs/
>>>>> -js-library-path=${royalelib}/js/libs/
>>>>>
>>>>> Takes a long time (25 sec) to compile but it got there.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Piotr Zarzycki
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

Reply via email to