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ş <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

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,"serkan....@likyateknoloji.com"<serkan....@likyateknoloji.com>  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.

Reply via email to