I posted a link earlier about generating API Reports. If you have been using COMPC to build libraries for your application, you will need to figure out the command-line arguments for Flex's COMPC to get those libraries to compile, then use the same command-line plus the additional API Report options with Royale's COMPC to generate an API report for each SWC in your application. The current API Report from MXMLC only tells us what APIs the main application uses, not what the libraries use.
You should not remove Adobe Flex references from your code base before using the Royale compiler to generate an API report for a SWC. You are compiling using the Royale Compiler with the Adobe Flex SWCs in order to see what your code used from the Adobe Flex and other SWCs. Once we have the API report, if you want to test out the emulation components, then you would just use the Royale Compiler with its default options which specify the Royale emulation components instead of the Adobe Flex SWCs. You would need to add any 3rd party SWCs to the options passed to the Royale Compiler. But you would not remove Adobe Flex references, the emulation components have most of those references. HTH, -Alex On 7/21/18, 7:38 AM, "bhau" <bhau2...@gmail.com> wrote: I have already generated API report using mxmlc compiler with some warnings. I am not sure whether my process to generate swc file is correct or not. I think I have to remove all adobe flex references from my code base before running Royale compc command. Please advise: 1) To generate swc file on module1 , do I have to modify all '.as' and '.mxml' files to de-reference with adobe flex classes and reference with corresponding mx/spark classes from Royale package, before running Royale compc command ? Thanks, --Bhau -- Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cced30bfd12e74707460008d5ef17ab52%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636677807295373334&sdata=quPA7wnbBLS59BeMPB58hXFMLNjRNOIF43YRHloQ1FY%3D&reserved=0