Ok, got it. But I still don’t understand which thread this belongs to…

From: Piotr Zarzycki<mailto:[email protected]>
Sent: Thursday, July 23, 2020 10:34 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: Issue when extending mx.Core.Application

Hi Yishay,

I do understand. If you wanted to use some classes related to server sight 
communication from MX library (MXRoyaleJS.swc) you need to add that parameter 
to your Jewel application.

Thanks,
Piotr

czw., 23 lip 2020 o 09:15 Yishay Weiss 
<[email protected]<mailto:[email protected]>> napisał(a):
Hi Nicolas,

I’m not sure if we’re on the right thread here but I can’t understand what this 
asconfig.json is doing, and why MXRoyaleJS.swc is added separately in the 
library path.

For what it’s worth, here’s the asconfig.json I used for my emulation examples.

{
  "config": "flex",
  "compilerOptions": {
      "debug": false,
      "targets": ["JSRoyale"],
      "source-map": false,
      "source-path": ["src"],
      "html-template": "index-template.html",
      "js-compiler-option": [
          "--skip_type_inference"
      ],
      "js-external-library-path": ["libs"],
  },
  "copySourcePathAssets": true,
  "files":
  [
      "src/Examples.mxml"
  ]
}

From: tranquiliste<mailto:[email protected]>
Sent: Thursday, July 23, 2020 9:56 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: Issue when extending mx.Core.Application

Hello Carlos,

Thanks for your answer.

I don't knwow which part o f the configuration may be faulty
I am using Visual Studio Code as IDE and the BowlerHatLLC extension
My compiler options is as followed
{
    "compilerOptions": {
      "targets": ["JSRoyale"],
      "source-path": ["src"],
      "source-map": true,
      "library-path": [
        "${royalelib}/js/libs/MXRoyaleJS.swc"
      ],
      "js-library-path": [
        "${royalelib}/js/libs/MXRoyaleJS.swc"
    ],
      "html-output-filename": "TestApp.html"
    },
    "mainClass": "Test"
}



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki

Reply via email to