Hi,

Without the API reports, we won't have any idea of what APIs you are going to 
need unless we dig through the compile errors.

I don't think you want to load-config the flex 4.1 flex-config.xml.  Basically, 
you don't want to specify any SWCs that aren't Royale SWCs.  Flex-config 
specifies the 4.1 Flex SWCs, and many of the other options specify non-Royale 
SWCs like Cairngorm, FlexSpy, Granite, etc.  And you will need to specify 
-compiler.targets=SWF,JSRoyale.

I suspect you will just get lots of compile errors and no JS files until you 
have emulations for the APIs you are using.

HTH,
-Alex


On 7/24/18, 1:25 PM, "bhau" <bhau2...@gmail.com> wrote:

    Hi Alex,
    
    I am not trying to generate api-report any more. I am trying to generate js
    files from flex app module1 using Apache Royale compc command and test these
    generated js files in my sample app. If it works then I will follow this
    process in remaining 10 modules and will migrate full application (currently
    in adobe flex).
    
    Here is the command (and output):
    
    "D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform>compc -compiler.locale=en_US
    
-load-config=D:\devenv\ivp\deflex\tools\flex\flex4.1-adobe\frameworks\flex-config.xml
    
-compiler.source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui
    
-compiler.source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-gen\flexui
    -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:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\flexlib.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\automation.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\Cairngorm.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\CairngormEnterprise.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\diagrammer.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\drumbeatinsight.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\FlexSpy.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\granite.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\kap-layouts-1.6.2.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\kap-licence-1.6.1-commercial.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\MaskedTextInput.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\multicolumnform.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\svg-1.6.2.swc
    -library-path+=D:\Learn\MyFirstRoyaleApp\lib\flexuiplatform-asset.swc
    
-output=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\build\FlexUIPlatformRoyale.swc
    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
    
-load-config=D:\devenv\ivp\deflex\tools\flex\flex4.1-adobe\frameworks\flex-config.xml
    
-compiler.source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui
    
-compiler.source-path=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-gen\flexui
    -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:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\flexlib.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\automation.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\Cairngorm.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\CairngormEnterprise.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\diagrammer.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\drumbeatinsight.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\FlexSpy.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\granite.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\kap-layouts-1.6.2.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\kap-licence-1.6.1-commercial.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\MaskedTextInput.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\multicolumnform.swc
    
-library-path+=D:\devenv\ivp\deflex\components\FlexUIPlatform\lib-flexui\svg-1.6.2.swc
    -library-path+=D:\Learn\MyFirstRoyaleApp\lib\flexuiplatform-asset.swc
    
-output=D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\build\FlexUIPlatformRoyale.swc
    target:JSRoyale
    COMPCJSCRoyale
    44.711134348 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%7Cdce5ab2fc433457e28bf08d5f1a38b0c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636680607074900324&amp;sdata=a6DiB1tSDHp428T%2BPGM4d5jhZdaNUGphGTz5bVu3kHM%3D&amp;reserved=0
    

Reply via email to