Hi Carlos,

I found the more recent builds. FYI, the link to the nightly Royale build here: 
https://royale.apache.org/get-involved/  resolves to build #2276 vs the most 
recent list.

I did search both lists and the only threads I found that seemed to address 
this issue indicated to add the below code to the asconfig.json file, however, 
this exact code is already in the file, so seems to be something else/something 
I am doing wrong...

"library-path": [
    "${royalelib}/js/libs/MXRoyaleJS.swc"
],
"js-library-path": [
    "${royalelib}/js/libs/MXRoyaleJS.swc"
]

Still unclear to me is if I am compiling using the AS compiler or Maven, within 
VS, however, neither seem to work. Using AS, I get these SWC not found errors. 
Using a clean Maven build, I get the following:

PS C:\...\royale-asjs\examples\mxroyale\RemoteObjectAMFTest> & 
"c:\...\royale-asjs\mvnw.cmd" clean -f 
"c:\...\royale-asjs\examples\mxroyale\RemoteObjectAMFTest\pom.xml"
Files was unexpected at this time.

I get the same type of result with the SAMPLEAMFWEBAPP project using Maven 
clean build (see included image), so wondering if I need to install Maven 
outside of VS instead of the VS plug-in or maybe some other environment setup 
issues I am missing.

[cid:[email protected]]

From: Carlos Rovira <[email protected]<mailto:[email protected]>>
Sent: Sunday, February 21, 2021 5:46 AM
To: [email protected]
Subject: Re: MXRoyaleJS.swc could not be found

Hi Jason,

since this question was solved more than one time in user and dev lists, please 
search for it on how to solve it.
Mainly MXRoyale is not included in royale config by default but is in flex 
config, so you need to add it specifically to it.
Also if you're using a nightly please use the newer one and keep up to date if 
possible.



El sáb, 20 feb 2021 a las 20:30, Jason Fillman 
(<[email protected]<mailto:[email protected]>>) escribió:
Compiling RemoteObjectAMFTest against 097 and the Jan 1 098 nightly, I get a 
bunch of errors: ...\MXRoyaleJS.swc could not be found

One example output:
c:\...\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc Warning: The definition 
org.apache.royale.events.Event depended on by mx.core.ScrollControlBase in the 
SWC c:\...\royale-asjs\frameworks\js\libs\MXRoyaleJS.swc could not be found

The terminal process "C:\Program Files (x86)\Common 
Files\Oracle\Java\javapath\java.exe '-jar', 
'c:\Users\jmfil\.vscode\extensions\bowlerhatllc.vscode-nextgenas-1.6.0\bin\asconfigc.jar',
 '--sdk', 'c:\...\royale-asjs', '--debug=false', '--project', 
'c:\...\royale-asjs\examples\mxroyale\RemoteObjectAMFTest\asconfig.json'" 
terminated with exit code: 3.

I checked the file path referenced and the swc file is there, so not sure...

Visual Studio Code; JDK 8u281


--
Carlos Rovira
Apache Member & Apache Royale PMC
Apache Software Foundation
http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=04%7C01%7C%7C2fe1458319b0485f86eb08d8d66f1a3e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637495119956814499%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GchqT3Q2c5yrJ1UCs0iVOxMtmfiRyV%2FBKK0gROsbrXw%3D&reserved=0>

Reply via email to