You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/10/21 17:08:26 UTC

[GitHub] [royale-asjs] joshtynjala edited a comment on issue #522: [HELP NEEDED] AIR Mobile/Desktop Output

joshtynjala edited a comment on issue #522: [HELP NEEDED] AIR Mobile/Desktop Output
URL: https://github.com/apache/royale-asjs/issues/522#issuecomment-544612539
 
 
   @angelhdz 
   
   For reference, here is the asconfig.json file that you posted in #229:
   
   ```json5
   {
       
       "compilerOptions": {
           "debug":  false,
           "source-map": true,
           "targets": [
               "JSRoyale","SWF"
           ],
           "theme": "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css",       
           "source-path": [
               "src"
           ]
       },
       "files": [
           "src/HelloRoyale.mxml"
       ],
   }
   ```
   
   This file is not configured correctly for Adobe AIR. I see a few things that you need to do:
   
   1. Set the "config" field to either "air" or "airmobile".
   2. Set the "application" field to an *-app.xml* application descriptor file.
   3. Remove "JSRoyale" from "targets". It should contain "SWF" only. (This one may not be strictly necessary, and you should be able to add it back later, but I'd recommend starting with a simpler build process to avoid too much complexity).
   
   I should note that I've never tried using Royale with Adobe AIR. As far as I know, no one else has mentioned trying it either. Even once you get things configured correctly, you may run into some bugs that I'll need to fix in the VSCode extension because I've focused my time developing Royale support in the VSCode extension exclusively with projects that generate JS only.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services