royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <piotrzarzyck...@gmail.com>
Subject Re: Generating API report for Flex Web Browser application
Date Mon, 26 Feb 2018 12:02:00 GMT
Alex,

I did above exercise for Moonshine and got NPE [1]. I used air-config.xml
because it is na Desktop app.

[1] https://paste.apache.org/R0Si

Thanks,
Piotr


2018-02-26 12:56 GMT+01:00 Piotr Zarzycki <piotrzarzycki21@gmail.com>:

> Yishay,
>
> Thank you so much!! I got it working.
>
> Alina,
>
> Here is the full instruction.
>
> 1) Download Apache Royale with SWF support - if you have that is good, if
> not it's here [1]
> 2) Download Apache Flex - you have it as I have seen on the screenshot.
> 3) Launch console and go to the Royale SDK folder
>
> "yourpathtosdk\bin\" - In my case it was: "d:\Work\royale_ide\royale_
> nightly_js_swf\bin\"
>
> 4) Run following command where you will point to the Flex Browser
> application in order to generate report. My command looks like that:
>
> mxmlc "c:\Users\piotr\Documents\NewFlexBrowserProject\src\NewFlexBrowserProject.mxml"
> -api-report="c:\Users\piotr\Documents\NewFlexBrowserProject\report.txt"
> -load-config=d:\Work\flex-sdk-4.16.1_adobe_air_28\
> frameworks\flex-config.xml
>
> I generated report for hellow world. Maybe in order to generate report for
> your application that console command may be much more sophisticated. Let's
> see!
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out/
>
> Thanks,
> Piotr
>
>
> 2018-02-26 12:46 GMT+01:00 Yishay Weiss <yishayjobs@hotmail.com>:
>
>> Looks like [1] you do need to add compiler option: -api–report=<path to
>> output file>
>>
>>
>>
>> [1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-
>> in-Apache-Royale-tp392p492.html
>>
>>
>>
>>
>>
>> *From: *Piotr Zarzycki <piotrzarzycki21@gmail.com>
>> *Sent: *Monday, February 26, 2018 1:37 PM
>>
>> *To: *users@royale.apache.org
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> I have produced with that swf, but what's next? Let's wait for Alex's
>> response [1]
>>
>>
>>
>> [1] https://paste.apache.org/YEeG
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>> 2018-02-26 12:32 GMT+01:00 Yishay Weiss <yishayjobs@hotmail.com>:
>>
>> Alex will know but I don’t think so. I haven’t updated the compiler
>> recently so can’t test it right now. If you want to test it maybe just
>> create a simple app and replace /Users/aharui/ApacheFlex4.16.0 with your
>> sdk home.
>>
>>
>>
>>
>>
>>
>>
>> *From: *Piotr Zarzycki <piotrzarzycki21@gmail.com>
>> *Sent: *Monday, February 26, 2018 1:25 PM
>> *To: *users@royale.apache.org
>> *Subject: *Re: Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Yishay,
>>
>>
>>
>> bin/mxmlc
>>
>> <path to app's
>>
>> .mxml
>>
>> file>
>>
>> -load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml
>>
>>
>>
>> Do I need some switch for compiler -api-report or something like that ?
>>
>>
>>
>> Thanks,
>>
>> Piotr
>>
>>
>>
>>
>>
>> 2018-02-26 12:10 GMT+01:00 Yishay Weiss <yishayjobs@hotmail.com>:
>>
>> Wasn’t logged in. Here’s [1] the link.
>>
>>
>>
>> [1] http://apache-royale-users.20374.n8.nabble.com/Substitutes-
>> in-Apache-Royale-tp392p489.html
>>
>>
>>
>>
>>
>> *From: *Yishay Weiss <yishayjobs@hotmail.com>
>> *Sent: *Monday, February 26, 2018 12:59 PM
>> *To: *users@royale.apache.org
>> *Subject: *RE: Generating API report for Flex Web Browser application
>>
>>
>>
>> I couldn’t find a way to link to a nabble post, but this [1] might help
>> (from Substitutes in Apache Royale).
>>
>>
>>
>> [1] https://paste.apache.org/N2QR
>>
>>
>>
>> *From: *Piotr Zarzycki <piotrzarzycki21@gmail.com>
>> *Sent: *Monday, February 26, 2018 12:44 PM
>> *To: *users@royale.apache.org
>> *Subject: *Generating API report for Flex Web Browser application
>>
>>
>>
>> Hi Alex,
>>
>>
>>
>> I would like to understand how to generate that report. I will go with
>> the console path, because I think this is something unusual and probably
>> Moonshine is not prepared to do this. I'm writing this on the users mailing
>> list because Alina is having some problems with that. I wanted to simplify
>> all of that. Let's start from the beginning.
>>
>>
>>
>> 1) I have created Flex Web browser project using Apache Flex SDK 4.16.1.
>>
>> 2) I have nightly build of Royale with SWF support [1]
>>
>>
>>
>> What should I type in the console now ?
>>
>>
>>
>> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/
>> job/royale-asjs/lastSuccessfulBuild/artifact/
>>
>>
>>
>> Thanks,
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Piotr Zarzycki *
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Mime
View raw message