royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Tan <organet...@gmail.com>
Subject Get Started - Using Visual Studio Code
Date Sun, 01 Apr 2018 04:43:42 GMT
Hello All,

This is my first time trying to setup Apache Royale project, I am using
Visual Studio Code and follow all the instructions given. I got the
following errors, not sure what was wrong, can anyone advice?

The SDK I am using: *apache-royale-0.9.3-bin-js-swf.tar.gz*


Compilation Error:
-----------------------------------------------------------------------------------------------------------------------------------
> Executing task: asconfigc --debug=true
--flexHome=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3 <

MXMLJSC
+royalelib=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks
--debug=true
--source-map=false
--targets=JSRoyale
src/HelloRoyale.mxml
/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml(74):
col: 0 Error: unable to open
'/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7/playerglobal.swc'.
/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml
(line: 74)

      </external-library-path>


/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml(98):
col: 0 Error: unable to open
'/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7'.
/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml
(line: 98)

      </library-path>


1.027796141 seconds
The terminal process terminated with exit code: 5

Terminal will be reused by tasks, press any key to close it.
-----------------------------------------------------------------------------------------------------------------------------------
Error: unable to open
'/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7/playerglobal.swc'.
Error: unable to open
'/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7'.

tasks.json:
The property isShellCommand is deprecated. Use the type property of the
task and the shell property in the options instead. See also the 1.14
release notes.
The property showOutput is deprecated. Use the reveal property inside the
presentation property instead. See also the 1.14 release notes.
-----------------------------------------------------------------------------------------------------------------------------------
tasks.json file content:

{
"version": "2.0.0",
"command": "asconfigc",
"isShellCommand": true,
"args": [
"--debug=true",
"--flexHome=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3"
],
"showOutput": "always",
"problemMatchers": [
"$royale"
]
}

-----------------------------------------------------------------------------------------------------------------------------------
asconfig.json file content:

{
"compilerOptions": {
"source-map": false,
     "targets": [
         "JSRoyale"
     ]
},
"files": [
     "src/HelloRoyale.mxml"
]
}

-----------------------------------------------------------------------------------------------------------------------------------

It also appeared this error message in Visual Studio Code:
*Could not locate valid Java executable. To configure Java manually, use
the nextgenas.java setting.*

What is the value for { "nextgenas.java": "???????" }, can show an example?

Thank you!


Joel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message