Hi, ok so you're using asconfig.json. I only use it for VSCode completion, but I'm not building with it.
try adding this: "library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], "js-library-path": [ "${royalelib}/js/libs/MXRoyaleJS.swc" ], El mar., 16 abr. 2019 a las 11:22, choirul anam (<ichsan.a...@gmail.com>) escribió: > This is my asconfig.json file in visual studio code: > > { > "config": "royale", > "compilerOptions": { > "debug": false, > "targets": ["JSRoyale"], > "source-map": true, > "html-template": > "src/main/resources/jewel-example-index-template.html", > "theme": > "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css" > }, > > "additionalCompilerOptions": { > "js-dynamic-access-unknown-members":true, > "js-default-initializers": false, > "compiler.exclude-defaults-css-files": > "MXRoyale-${royale.framework.version}-js.swc:defaults.css" > }, > > "copySourcePathAssets": true, > > "files": > [ > "src/main/royale/App.mxml" > ] > } > > and this is console message log: > > > 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\royale\myTourDeJewel\asconfig.json > > < > > MXMLJSC > > +royalelib=d:\xampp\htdocs\apache-royale-0.9.6-bin-js-swf\royale-asjs\frameworks > --debug=true > +configname=royale > --targets=JSRoyale > --source-map=true > --html-template=src/main/resources/jewel-example-index-template.html > --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css > -- > src/main/royale/App.mxml > > d:\xampp\htdocs\royale\myTourDeJewel\src\main\royale\components\FormEntryMaster.mxml(118): > col: 5 Error: This tag could not be resolved to an ActionScript class. It > will be ignored. > > <mx:HTTPService id="dept_service" > url="http://localhost/webpc/bin-debug/services/mod_master/master.php" > method="POST"> > ^ > > 4.652820343 seconds > The terminal process terminated with exit code: 3 > > Terminal will be reused by tasks, press any key to close it. > > > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/ > -- Carlos Rovira http://about.me/carlosrovira