Hi Alex,

Top tag in mxml :

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:comps="com.likya.pinara.comps.*"
                           xmlns:containers="com.likya.pinara.containers.*"
                           xmlns:jobdetail="com.likya.pinara.comps.jobdetail.*"
                           currentState="loggedOutState"
                           
preloader="com.likya.pinara.utils.DownloadProgressBarSubClassMin"
                           minWidth="955" minHeight="600"
                           
creationComplete="application_creationCompleteHandler()"
                           
xmlns:jobmanager="com.likya.pinara.services.jobmanager.*"
                           xmlns:userops="com.likya.pinara.services.userops.*">


I will try putting file at the end  and inform you Alex, thanx


Quoting Alex Harui <aha...@adobe.com>:

Hi Serkan,

What is the top tag in PinaraUI.mxml?

Try putting the PinaraUI.mxml file last in the list of compiler options. Put all of the other options first.

Thanks,
-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 8:10 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>>
Subject: Fwd: Re: api-report



Hi Alex,

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

https://drive.google.com/open?id=1DYvI_7JzOYV0SNq9Q1SqZmUdlOMeBWuo<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1DYvI_7JzOYV0SNq9Q1SqZmUdlOMeBWuo&data=02%7C01%7Caharui%40adobe.com%7C747e7f2a281146d7654408d5876ab944%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636563814809676597&sdata=9BPbAgc5vMJlGX8HF1Tp5zqKsCGsL8GbCRMLCLadIcA%3D&reserved=0>

https://drive.google.com/open?id=1z91Y_flnVSAN4cYO0R-nqbOm6Qg_mNhH<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1z91Y_flnVSAN4cYO0R-nqbOm6Qg_mNhH&data=02%7C01%7Caharui%40adobe.com%7C747e7f2a281146d7654408d5876ab944%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636563814809676597&sdata=3kWAdxk%2FTLWGp%2BHrANu2BJ%2B4A3%2Bi7D7twQ%2BDL7ZAzYI%3D&reserved=0>


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".

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


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

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

Reply via email to