Advertisement
ichsan_anam

MX Royale

Apr 17th, 2019
2,404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. settings.json
  2. {
  3.     "as3mxml.sdk.framework": "d:\\xampp\\htdocs\\apache-royale-0.9.6-bin-js-swf\\royale-asjs"
  4. }
  5.  
  6. asconfig.json
  7. {
  8.     "config": "royale",
  9.     "compilerOptions": {
  10.         "debug": false,
  11.         "targets": ["JSRoyale"],
  12.         "source-map": true
  13.        
  14.     },
  15.    
  16.     "library-path": [
  17.         "${royalelib}/js/libs/MXRoyaleJS.swc"
  18.     ],
  19.     "js-library-path": [
  20.         "${royalelib}/js/libs/MXRoyaleJS.swc"
  21.     ],
  22.        
  23.     "copySourcePathAssets": true,
  24.    
  25.     "files":
  26.     [
  27.         "src/main/royale/HelloWorld.mxml"
  28.     ]
  29. }
  30.  
  31. VSCode console log:
  32.  
  33. > Executing task: C:\ProgramData\Oracle\Java\javapath\java.exe -jar c:\Users\Usr\.vscode\extensions\bowlerhatllc.vscode-nextgenas-0.18.0\bin\asconfigc.jar --sdk d:\xampp\htdocs\apache-royale-0.9.6-bin-js-swf\royale-asjs --debug=true --project d:\xampp\htdocs\apache-royale-0.9.6-bin-js-swf\royale-asjs\examples\mxroyale\HelloWorld\asconfig.json <
  34.  
  35. MXMLJSC
  36. +royalelib=d:\xampp\htdocs\apache-royale-0.9.6-bin-js-swf\royale-asjs\frameworks
  37. --debug=true
  38. +configname=royale
  39. --targets=JSRoyale
  40. --source-map=true
  41. --
  42. src/main/royale/HelloWorld.mxml
  43. d:\xampp\htdocs\apache-royale-0.9.6-bin-js-swf\royale-asjs\examples\mxroyale\HelloWorld\src\main\royale\HelloWorld.mxml(20): col: 1 Error: This tag could not be resolved to an ActionScript class. It will be ignored.
  44.  
  45. <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
  46. ^
  47.  
  48. 2.030171225 seconds
  49. The terminal process terminated with exit code: 3
  50.  
  51. Terminal will be reused by tasks, press any key to close it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement