Hi Bhau,

Use compiler.targets=SWF,JSRoyale

You shouldn't have had to "emulate" tons of classes.  If you are using the 
Emulation components, most Flex API usage wouldn't have to change.  But if you 
not using Emulation components and directly using other Royale APIs then yes, 
you would have had to edit tons of classes.

Thanks,
-Alex

On 8/15/18, 3:02 PM, "bhau" <bhau2...@gmail.com> wrote:

    Hi Alex,
    
    After emulating tons of classes, replacing flex api usage with corresponding
    royale api, I finally see no error in compilation. But output swc file is
    still missing. 
    
    Am i doing something?
     Here is the console output:
    
    Using Royale Compiler codebase:
    D:\Software\ApacheRoyale\apache-royale-0.9.3-bin-js\royale-asjs
    Using Royale SDK:
    D:\Software\ApacheRoyale\apache-royale-0.9.3-bin-js\royale-asjs
    args:
    
-sdk-js-lib=D:\Software\ApacheRoyale\apache-royale-0.9.3-bin-js\royale-asjs\frameworks\js\Royale\generated-sources
    -compiler.locale=en_US
    -warnings
    
-compiler.source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui
    
-compiler.source-path+=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-gen\flexui
    
-compiler.source-path+=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\flexuiplatform-asset
    -include-sources+=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui
    
-include-sources+=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-gen\flexui
    
-include-sources+=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\flexuiplatform-asset
    
-compiler.source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\res-flexui\locale/{locale}
    
-library-path+=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\flexuiplatform-asset.swc
    -library-path+=D:\Learn\MyFirstRoyaleApp\lib\flexuiplatform-asset.swc
    
-output=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\build\FlexUIPlatformRoyale.swc
    target:JSRoyale
    COMPCJSCRoyale
    7.4628305 seconds
    
    Thanks,
    --Bhau
    
    
    
    --
    Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Ce015f8b9b8c44d3225f408d602fad8e3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636699673775197082&amp;sdata=1PTLRtGhSxidq%2FM3ZBGqbPhVBg5g7coCU0rife4rJls%3D&amp;reserved=0
    

Reply via email to