Hi Piotr, As it turns out, I didn’t leave a space between +configname=flex and the other compiler options. Lost a half day on that dumb error.
Thanks From: Piotr Zarzycki Sent: Wednesday, March 16, 2022 3:44 AM To: [email protected] Subject: Re: Moonshine blowing up with Crux Hi Mark, Did you try with 0.9.9-SNAPSHOT version of Royale ? You can download it using Moonshine. wt., 15 mar 2022 o 18:18 Mark <[email protected]> napisał(a): The compile-add-config.xml has paths to the swc’s. When does this used in the compile process? <js-library-path append="true"> <path-element>../../../../../../frameworks/js/libs/BasicJS.swc</path-element> <path-element>../../../../../../frameworks/js/libs/CruxJS.swc</path-element> <path-element>../../../../../../frameworks/js/libs/MXRoyaleBaseJS.swc</path-element> </js-library-path> <!--<library-path append="true"> <path-element>../../../../../../frameworks/libs/Basic.swc</path-element> <path-element>../../../../../../frameworks/libs/Crux.swc</path-element> <path-element>../../../../../../frameworks/libs/MXRoyale.swc</path-element> </library-path>--> <theme> From: Mark Sent: Tuesday, March 15, 2022 1:03 PM To: [email protected] Subject: Moonshine blowing up with Crux I used the CruxQuickStart code and copied the relevant parts into my system. I am building a Jewel app and I am getting errors that CruxJS.swc can’t be found. Any ideas? Thanks. Using Royale SDK: "C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\royale-asjs" : MXMLJSC : -sdk-js-lib=C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\royale-asjs\frameworks\js\Royale\generated-sources : -load-config+=obj/SampleSystemConfig.xml : -debug=true : -source-map=true : -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css : -html-template=src/resources/jewel-index-template.html : -compiler.targets=JSRoyale : -js-output=C:\AADevelopment\SampleSystem : Could not find file for class: mx.core.mx_internal : Error: File not found: mx.core.mx_internal : : : Internal error: java.lang.RuntimeException: Unable to find JavaScript filePath for class: mx.core.mx_internal org.apache.royale.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:779)org.apache.royale.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:808)org.apache.royale.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:808)org.apache.royale.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:808)org.apache.royale.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:808)org.apache.royale.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:808)org.apache.royale.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:468)org.apache.royale.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:115)org.apache.royale.compiler.internal.codegen.mxml.royale.MXMLRoyalePublisher.publish(MXMLRoyalePublisher.java:471)org.apache.royale.compiler.clients.MXMLJSCRoyale.compile(MXMLJSCRoyale.java:442)org.apache.royale.compiler.clients.MXMLJSCRoyale._mainNoExit(MXMLJSCRoyale.java:259)org.apache.royale.compiler.clients.MXMLJSCRoyale.mainNoExit(MXMLJSCRoyale.java:216)org.apache.royale.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:363)org.apache.royale.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:298)org.apache.royale.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:256)org.apache.royale.compiler.clients.MXMLJSC.main(MXMLJSC.java:238) : : : C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\royale-asjs\frameworks\js\libs\CruxJS.swc Warning: The definition mx.rpc.IResponder depended on by org.apache.royale.crux.utils.async.AbstractAsynchronousOperation in the SWC C:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.8-bin-js\royale-asjs\frameworks\js\libs\CruxJS.swc could not be found : -- Piotr Zarzycki
