Fwd: Re: api-report

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fwd: Re: api-report

Serkan Taş

Hi Alex,

Please find the batch script below named genrep.bat and th console output log.txt



11.03.2018 18:10 tarihinde Alex Harui yazdı:
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".


From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Sunday, March 11, 2018 at 3:08 AM
To: "[hidden email]" <[hidden email]>
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.


From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Saturday, March 10, 2018 at 10:13 AM
To: "[hidden email]" <[hidden email]>
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

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.


On 3/8/18, 5:43 AM, [hidden email][hidden email] wrote:

Please find the script, report and errors at below link....


Serkan Taş
Mobil : +90 532 250 07 71
Likya Bilgi Teknolojileri
ve İletişim Hiz. Ltd. Şti.

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

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.