Hi Serkan, To generate the api-report, you will need to use the Royale compiler with the flex-config.xml from the same Flex SDK as you used with the Flex compiler.
Post the console output that includes what you typed on the command line. Using the CFGFILE variables you showed below you would probably have to prefix the drive and folders leading up toe "Adobe Flash Builder". HTH, -Alex From: Serkan Taş <serkan....@likyateknoloji.com<mailto:serkan....@likyateknoloji.com>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Date: Sunday, March 11, 2018 at 3:08 AM To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Subject: Re: api-report Hi Alex, (for royale) set CFGFILE="Apache Royale\apache-flex-sdk-4.16.1-bin\frameworks\flex-config.xml" (for adobe) set CFGFILE="Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\frameworks\flex-config.xml" I tought that the config file depends on sdk, changed it to adobe cfg and got same result. PinaraUI.mxml is an mxml file and the main file of application, i mean starting point. 11.03.2018 10:23 tarihinde Alex Harui yazdı: Hi Serkan, Why is the load-config different? I would think the Royale compiler would need the same -load–config option. Is PinaraUI.mxml an application? If it is a SWC, I would use COMPC instead of MXMLC. HTH, -Alex From: Serkan Taş <serkan....@likyateknoloji.com<mailto:serkan....@likyateknoloji.com>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Date: Saturday, March 10, 2018 at 10:13 AM To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>> Subject: Re: api-report Hi Alex, I worked on mxmlc and successfully generate adobe Flex file swf with the command below : (all env vars predefined not included in maiş to simplfy) %ADOBEPATH%mxmlc PinaraUI/src/com/likya/pinara/main/PinaraUI.mxml -external-library-path=%PNRLIBS%,%FIBERSWC%,%PLAYERGLBSWC%,%SERSWC% -source-path=PinaraUI/src,PinaraUI/locale/{locale} -services=Pinara-0.0.1/WEB-INF/flex/services-config.xml -load-config="D:\dev\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\frameworks\flex-config.xml" -o .\PinaraUI.swf I tried the same way for royale (only added api-report parameter) %ROYALEPATH%mxmlc PinaraUI/src/com/likya/pinara/main/PinaraUI.mxml -api-report="report.txt" -external-library-path=%PNRLIBS%,%FIBERSWC%,%PLAYERGLBSWC%,%SERSWC% -source-path=PinaraUI/src,PinaraUI/locale/{locale} -services=Pinara-0.0.1/WEB-INF/flex/services-config.xml -load-config=%CFGFILE% -o .\PinaraUI.swf Terminated with output : Error: Unable to resolve root class of SWF: com.likya.pinara.main.PinaraUI Error: Unable to build SWF D:\dev\Apache Royale\ApiReport\PinaraUI.swf Thanx in advance Serkan 08.03.2018 20:39 tarihinde Alex Harui yazdı: Hi Serkan, Is your app relatively small or do you have other SWCs or modules? There wasn't too much in the API report so either we still have bugs in the report tool, or app is relatively simple and small, or you have other SWCs and/or modules. If you have other SWCs and modules, please generate a report for them as well. Or maybe the errors the compiler hit got in the way of good data collection. I'm not sure why you are getting ResourceEvent errors. Please verify you are using mx.events.ResourceEvent instead of a third party event. I see a TreeUtils is being used so that source or library needs to be added to the compiler arguments. I see ModelLocator and User classes as well. Maybe you are using CairnGorm and need to add that to the library-path. Also a DummyForm and some other missing classes at the end of log.txt If you can get all (or most) of the errors to go away, see if the report is longer. Thanks, -Alex On 3/8/18, 5:43 AM, "serkan....@likyateknoloji.com"<mailto:serkan....@likyateknoloji.com><serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com> wrote: Please find the script, report and errors at below link.... https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.goo gle.com%2Fdrive%2Ffolders%2F1lHTGgOjbFTRgwLWERJ67EHxuogd52Je5%3Fusp%3Dshar ing&data=02%7C01%7Caharui%40adobe.com%7Cba90629a85d340be51c408d584faa0a3%7 Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561134328894381&sdata=22nfV GBMBg%2BMUf0Uf28YBeFJVDFSPMFNgAvBUyySFUo%3D&reserved=0 -- Serkan Taş Mobil : +90 532 250 07 71 Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. https://na01.safelinks.protection.outlook.com/?url=www.likyateknoloji.com& data=02%7C01%7Caharui%40adobe.com%7Cba90629a85d340be51c408d584faa0a3%7Cfa7 b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636561134328894381&sdata=iWSpLjuBO XGyCYopvbF8zOrVgm8x%2BvxqciqcWpfJkxQ%3D&reserved=0 -------------------------------------- Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden siliniz. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu mesajın içeriği ile ilgili olarak hiç bir hukuksal sorumluluğu kabul etmez. This electronic mail and any files transmitted with it are intended for the private use of the persons named above. If you received this message in error, forwarding, copying or use of any of the information is strictly prohibited. Please immediately notify the sender and delete it from your system. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. does not accept legal responsibility for the contents of this message. --------------------------------------