Re: Substitutes in Apache Royale

2018-02-23 Thread Alex Harui
Alina will need the load-config to point to a Flex SDK to compile her existing 
app and generate the -api–report we want.  So I assume she may be testing a 
HelloWorld in Flex.  If the SWF ran, that's good news.

But to test a Royale HelloWorld in Moonshine, you are correct that she should 
not use it.

-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Friday, February 23, 2018 at 4:22 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Nope. Why are you loading config from Flex SDK ? Remove it from there and 
compile once again.

2018-02-23 12:59 GMT+01:00 Alina Kazi 
mailto:alina.k...@d-bz.com>>:
Piotr ,
Created A sample helloworld Application in Moonshine
it is generating a swf output.
Link:
https://www.dropbox.com/s/767jv1e4h02qzy4/SAMPLE.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F767jv1e4h02qzy4%2FSAMPLE.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C67241de9be7345ddab9e08d57ab81786%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549853452039079&sdata=lvzzBqG%2B6rSVz9DAoWDhI4PALKDHS85t7LAcXL1eQAk%3D&reserved=0>
Is it fine?

Thanks ,
Alina Kazi


From: Piotr Zarzycki 
[mailto:piotrzarzyck...@gmail.com<mailto:piotrzarzyck...@gmail.com>]
Sent: Friday, February 23, 2018 5:03 PM

To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Alina,

It looks like you are good. The best approach to check whether SWF build of 
Royale is working.
Create in Moonshine Hello World application and use "Project" -> "Build 
Project" (It will build to SWF) - of course using your application.

Thanks, Piotr

2018-02-23 12:15 GMT+01:00 Alina Kazi 
mailto:alina.k...@d-bz.com>>:
Thank you Piotr and Alex.
Is that results in a working Royale SDK with SWF Support?
For Reference:
https://www.dropbox.com/s/cj1bfaqgjpyd3bs/installAdobeSDKsxml.png?dl=0<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fcj1bfaqgjpyd3bs%2FinstallAdobeSDKsxml.png%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C67241de9be7345ddab9e08d57ab81786%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549853452039079&sdata=C9V58v7r1gZOkr7FCply5bzWwYnbdUQxqORE4lUNCXQ%3D&reserved=0>

Regards,
Alina Kazi
From: Piotr Zarzycki 
[mailto:piotrzarzyck...@gmail.com<mailto:piotrzarzyck...@gmail.com>]
Sent: Friday, February 23, 2018 3:00 PM

To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Alina,

Link to the nightly build machine where you can download royale [1]. Lin to the 
InstallAdobeSDKs.xml and repository [2]

[1] 
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2F&data=02%7C01%7Caharui%40adobe.com%7C67241de9be7345ddab9e08d57ab81786%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549853452039079&sdata=cIjqLc%2B0qgErVUo58GvYplR0CURG7QbOl7bPi0GuETY%3D&reserved=0>
[2] 
https://github.com/apache/royale-asjs/blob/develop/InstallAdobeSDKs.xml<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2FInstallAdobeSDKs.xml&data=02%7C01%7Caharui%40adobe.com%7C67241de9be7345ddab9e08d57ab81786%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549853452039079&sdata=YyH0QrX3vMsOxZwsaOygfeXyiVs5OkEBSCWa%2BVb3u7M%3D&reserved=0>

Thanks, Piotr

2018-02-23 10:28 GMT+01:00 Alina Kazi 
mailto:alina.k...@d-bz.com>>:
Hi Alex,

Still facing similar issue.
Can you please share link for repo or build machine royale-asjs folder.

Thanks,
Alina
From: Alex Harui [mailto:aha...@adobe.com<mailto:aha...@adobe.com>]
Sent: Friday, February 23, 2018 12:47 PM

To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

That's a pretty strange result.  I just tried it on my Windows machine without 
any problem.  I'm wondering if something got corrupted or there is a code-page 
issue.

Try setting the environment variable
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

If that doesn't help, try comparing the files in the royale-asjs folder with 
the ones on our repo or build machine.

HTH,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Thursday, February 22, 2018 at 9:21 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE:

Re: Substitutes in Apache Royale

2018-02-23 Thread Piotr Zarzycki
Nope. Why are you loading config from Flex SDK ? Remove it from there and
compile once again.

2018-02-23 12:59 GMT+01:00 Alina Kazi :

> Piotr ,
>
> Created A sample helloworld Application in Moonshine
>
> it is generating a swf output.
>
> Link:
>
> https://www.dropbox.com/s/767jv1e4h02qzy4/SAMPLE.png?dl=0
>
> Is it fine?
>
>
>
> Thanks ,
>
> Alina Kazi
>
>
>
>
>
> *From:* Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com]
> *Sent:* Friday, February 23, 2018 5:03 PM
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Alina,
>
>
>
> It looks like you are good. The best approach to check whether SWF build
> of Royale is working.
>
> Create in Moonshine Hello World application and use "Project" -> "Build
> Project" (It will build to SWF) - of course using your application.
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-23 12:15 GMT+01:00 Alina Kazi :
>
> Thank you Piotr and Alex.
>
> Is that results in a working Royale SDK with SWF Support?
>
> For Reference:
>
> https://www.dropbox.com/s/cj1bfaqgjpyd3bs/installAdobeSDKsxml.png?dl=0
>
>
>
> Regards,
>
> Alina Kazi
>
> *From:* Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com]
> *Sent:* Friday, February 23, 2018 3:00 PM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Alina,
>
>
>
> Link to the nightly build machine where you can download royale [1]. Lin
> to the InstallAdobeSDKs.xml and repository [2]
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
>
> [2] https://github.com/apache/royale-asjs/blob/develop/
> InstallAdobeSDKs.xml
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-23 10:28 GMT+01:00 Alina Kazi :
>
> Hi Alex,
>
>
>
> Still facing similar issue.
>
> Can you please share link for repo or build machine royale-asjs folder.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aha...@adobe.com]
> *Sent:* Friday, February 23, 2018 12:47 PM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Hi Alina,
>
>
>
> That's a pretty strange result.  I just tried it on my Windows machine
> without any problem.  I'm wondering if something got corrupted or there is
> a code-page issue.
>
>
>
> Try setting the environment variable
>
> JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
>
>
>
> If that doesn't help, try comparing the files in the royale-asjs folder
> with the ones on our repo or build machine.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, February 22, 2018 at 9:21 PM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Substitutes in Apache Royale
>
>
>
> Issue *- ran in the package's royale-asjs folder: ant –f
> InstallAdobeSDKs.xml*
>
>
>
> https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.
> xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaper.dropbox.com%2Fdoc%2FError-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k%3F_tk%3Dshare_copylink&data=02%7C01%7Caharui%40adobe.com%7C4b416955dccc4c69504808d57a7efb17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549608168968520&sdata=AEHhsqj5zJDyXNXZKCwUa26iGJQnttV2KRABlgtxsj0%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aha...@adobe.com ]
> *Sent:* Tuesday, February 20, 2018 11:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> In fact, I went and tried it just now to build a Flex Hello World.
>
>
>
> I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.
> Then I:
>
>
>
> - took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use
> the bin-js-swf and not just bin-js).
>
> - unzipped the package
>
> - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml
>
>
>
> That results in a working Royale SDK with SWF Support.
>
>
>
> Then I ran from the royale-asjs folder:
>
>
>
>   bin/mxmlc  -load-config=/Users/aharui/
> ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> The compile finished successfully.  I think I'm going to work on the API
> report now and deal with the * selector after.  If you can get a SWF build
> via this technique, this is the technique you will use to generate the API
> report.
>
>
>
> Thanks,
>
> -

RE: Substitutes in Apache Royale

2018-02-23 Thread Alina Kazi
Piotr ,

Created A sample helloworld Application in Moonshine

it is generating a swf output.

Link:

https://www.dropbox.com/s/767jv1e4h02qzy4/SAMPLE.png?dl=0

Is it fine? 

 

Thanks ,

Alina Kazi

 

 

From: Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com] 
Sent: Friday, February 23, 2018 5:03 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Alina,

 

It looks like you are good. The best approach to check whether SWF build of 
Royale is working. 

Create in Moonshine Hello World application and use "Project" -> "Build 
Project" (It will build to SWF) - of course using your application.

 

Thanks, Piotr

 

2018-02-23 12:15 GMT+01:00 Alina Kazi :

Thank you Piotr and Alex.

Is that results in a working Royale SDK with SWF Support?

For Reference: 

https://www.dropbox.com/s/cj1bfaqgjpyd3bs/installAdobeSDKsxml.png?dl=0

 

Regards,

Alina Kazi

From: Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com] 
Sent: Friday, February 23, 2018 3:00 PM


To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Alina,

 

Link to the nightly build machine where you can download royale [1]. Lin to the 
InstallAdobeSDKs.xml and repository [2]

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/

[2] https://github.com/apache/royale-asjs/blob/develop/InstallAdobeSDKs.xml

 

Thanks, Piotr

 

2018-02-23 10:28 GMT+01:00 Alina Kazi :

Hi Alex,

 

Still facing similar issue. 

Can you please share link for repo or build machine royale-asjs folder.

 

Thanks,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Friday, February 23, 2018 12:47 PM


To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

That's a pretty strange result.  I just tried it on my Windows machine without 
any problem.  I'm wondering if something got corrupted or there is a code-page 
issue.

 

Try setting the environment variable

JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

 

If that doesn't help, try comparing the files in the royale-asjs folder with 
the ones on our repo or build machine.

 

HTH,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Thursday, February 22, 2018 at 9:21 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Issue - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink
 
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaper.dropbox.com%2Fdoc%2FError-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k%3F_tk%3Dshare_copylink&data=02%7C01%7Caharui%40adobe.com%7C4b416955dccc4c69504808d57a7efb17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549608168968520&sdata=AEHhsqj5zJDyXNXZKCwUa26iGJQnttV2KRABlgtxsj0%3D&reserved=0>
 

 

Thanks,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, February 20, 2018 11:30 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

In fact, I went and tried it just now to build a Flex Hello World.

 

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

 

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).

- unzipped the package

- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

That results in a working Royale SDK with SWF Support.

 

Then I ran from the royale-asjs folder:

 

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

 

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

 

Thanks,

-Alex

 

[1] http://royale.apache.org/download/

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

 

HTH,

-Alex

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

 

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and lin

Re: Substitutes in Apache Royale

2018-02-23 Thread Piotr Zarzycki
Alina,

It looks like you are good. The best approach to check whether SWF build of
Royale is working.
Create in Moonshine Hello World application and use "Project" -> "Build
Project" (It will build to SWF) - of course using your application.

Thanks, Piotr

2018-02-23 12:15 GMT+01:00 Alina Kazi :

> Thank you Piotr and Alex.
>
> Is that results in a working Royale SDK with SWF Support?
>
> For Reference:
>
> https://www.dropbox.com/s/cj1bfaqgjpyd3bs/installAdobeSDKsxml.png?dl=0
>
>
>
> Regards,
>
> Alina Kazi
>
> *From:* Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com]
> *Sent:* Friday, February 23, 2018 3:00 PM
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Alina,
>
>
>
> Link to the nightly build machine where you can download royale [1]. Lin
> to the InstallAdobeSDKs.xml and repository [2]
>
>
>
> [1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
>
> [2] https://github.com/apache/royale-asjs/blob/develop/
> InstallAdobeSDKs.xml
>
>
>
> Thanks, Piotr
>
>
>
> 2018-02-23 10:28 GMT+01:00 Alina Kazi :
>
> Hi Alex,
>
>
>
> Still facing similar issue.
>
> Can you please share link for repo or build machine royale-asjs folder.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aha...@adobe.com]
> *Sent:* Friday, February 23, 2018 12:47 PM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Hi Alina,
>
>
>
> That's a pretty strange result.  I just tried it on my Windows machine
> without any problem.  I'm wondering if something got corrupted or there is
> a code-page issue.
>
>
>
> Try setting the environment variable
>
> JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
>
>
>
> If that doesn't help, try comparing the files in the royale-asjs folder
> with the ones on our repo or build machine.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, February 22, 2018 at 9:21 PM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Substitutes in Apache Royale
>
>
>
> Issue *- ran in the package's royale-asjs folder: ant –f
> InstallAdobeSDKs.xml*
>
>
>
> https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.
> xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaper.dropbox.com%2Fdoc%2FError-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k%3F_tk%3Dshare_copylink&data=02%7C01%7Caharui%40adobe.com%7C4b416955dccc4c69504808d57a7efb17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549608168968520&sdata=AEHhsqj5zJDyXNXZKCwUa26iGJQnttV2KRABlgtxsj0%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aha...@adobe.com ]
> *Sent:* Tuesday, February 20, 2018 11:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> In fact, I went and tried it just now to build a Flex Hello World.
>
>
>
> I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.
> Then I:
>
>
>
> - took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use
> the bin-js-swf and not just bin-js).
>
> - unzipped the package
>
> - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml
>
>
>
> That results in a working Royale SDK with SWF Support.
>
>
>
> Then I ran from the royale-asjs folder:
>
>
>
>   bin/mxmlc  -load-config=/Users/aharui/
> ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> The compile finished successfully.  I think I'm going to work on the API
> report now and deal with the * selector after.  If you can get a SWF build
> via this technique, this is the technique you will use to generate the API
> report.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> [1] http://royale.apache.org/download/
>
>
>
> *From: *Alex Harui 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 19, 2018 at 11:46 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Substitutes in Apache Royale
>
>
>
> Sorry, just realized I referenced the JS compiler.  Please try using
> bin/compc and bin/mxmlc.  You won't need the –targets parameter, just the
> load-config option.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alex Harui 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 19, 2018 at 11:14 PM
> *To: *"users@royale.apache.org" 

RE: Substitutes in Apache Royale

2018-02-23 Thread Alina Kazi
Thank you Piotr and Alex.

Is that results in a working Royale SDK with SWF Support?

For Reference: 

https://www.dropbox.com/s/cj1bfaqgjpyd3bs/installAdobeSDKsxml.png?dl=0

 

Regards,

Alina Kazi

From: Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com] 
Sent: Friday, February 23, 2018 3:00 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Alina,

 

Link to the nightly build machine where you can download royale [1]. Lin to the 
InstallAdobeSDKs.xml and repository [2]

 

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/

[2] https://github.com/apache/royale-asjs/blob/develop/InstallAdobeSDKs.xml

 

Thanks, Piotr

 

2018-02-23 10:28 GMT+01:00 Alina Kazi :

Hi Alex,

 

Still facing similar issue. 

Can you please share link for repo or build machine royale-asjs folder.

 

Thanks,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Friday, February 23, 2018 12:47 PM


To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

That's a pretty strange result.  I just tried it on my Windows machine without 
any problem.  I'm wondering if something got corrupted or there is a code-page 
issue.

 

Try setting the environment variable

JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

 

If that doesn't help, try comparing the files in the royale-asjs folder with 
the ones on our repo or build machine.

 

HTH,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Thursday, February 22, 2018 at 9:21 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Issue - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink
 
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaper.dropbox.com%2Fdoc%2FError-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k%3F_tk%3Dshare_copylink&data=02%7C01%7Caharui%40adobe.com%7C4b416955dccc4c69504808d57a7efb17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549608168968520&sdata=AEHhsqj5zJDyXNXZKCwUa26iGJQnttV2KRABlgtxsj0%3D&reserved=0>
 

 

Thanks,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, February 20, 2018 11:30 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

In fact, I went and tried it just now to build a Flex Hello World.

 

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

 

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).

- unzipped the package

- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

That results in a working Royale SDK with SWF Support.

 

Then I ran from the royale-asjs folder:

 

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

 

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

 

Thanks,

-Alex

 

[1] http://royale.apache.org/download/

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

 

HTH,

-Alex

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

 

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

 

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

 

I think you will want to use the compiler option:

   -load-config="path to a Flex SDK flex-config.xml" 

and also use

  –compiler.targets=SWF

 

HTH,

-Alex

 

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

O

Re: Substitutes in Apache Royale

2018-02-23 Thread Piotr Zarzycki
Alina,

Link to the nightly build machine where you can download royale [1]. Lin to
the InstallAdobeSDKs.xml and repository [2]

[1] http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
[2] https://github.com/apache/royale-asjs/blob/develop/InstallAdobeSDKs.xml

Thanks, Piotr

2018-02-23 10:28 GMT+01:00 Alina Kazi :

> Hi Alex,
>
>
>
> Still facing similar issue.
>
> Can you please share link for repo or build machine royale-asjs folder.
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aha...@adobe.com]
> *Sent:* Friday, February 23, 2018 12:47 PM
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Hi Alina,
>
>
>
> That's a pretty strange result.  I just tried it on my Windows machine
> without any problem.  I'm wondering if something got corrupted or there is
> a code-page issue.
>
>
>
> Try setting the environment variable
>
> JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
>
>
>
> If that doesn't help, try comparing the files in the royale-asjs folder
> with the ones on our repo or build machine.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, February 22, 2018 at 9:21 PM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Substitutes in Apache Royale
>
>
>
> Issue *- ran in the package's royale-asjs folder: ant –f
> InstallAdobeSDKs.xml*
>
>
>
> https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.
> xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaper.dropbox.com%2Fdoc%2FError-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k%3F_tk%3Dshare_copylink&data=02%7C01%7Caharui%40adobe.com%7C4b416955dccc4c69504808d57a7efb17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549608168968520&sdata=AEHhsqj5zJDyXNXZKCwUa26iGJQnttV2KRABlgtxsj0%3D&reserved=0>
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aha...@adobe.com ]
> *Sent:* Tuesday, February 20, 2018 11:30 PM
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> In fact, I went and tried it just now to build a Flex Hello World.
>
>
>
> I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.
> Then I:
>
>
>
> - took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use
> the bin-js-swf and not just bin-js).
>
> - unzipped the package
>
> - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml
>
>
>
> That results in a working Royale SDK with SWF Support.
>
>
>
> Then I ran from the royale-asjs folder:
>
>
>
>   bin/mxmlc  -load-config=/Users/aharui/
> ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> The compile finished successfully.  I think I'm going to work on the API
> report now and deal with the * selector after.  If you can get a SWF build
> via this technique, this is the technique you will use to generate the API
> report.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> [1] http://royale.apache.org/download/
>
>
>
> *From: *Alex Harui 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 19, 2018 at 11:46 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Substitutes in Apache Royale
>
>
>
> Sorry, just realized I referenced the JS compiler.  Please try using
> bin/compc and bin/mxmlc.  You won't need the –targets parameter, just the
> load-config option.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alex Harui 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 19, 2018 at 11:14 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Substitutes in Apache Royale
>
>
>
> Hi Alina,
>
>
>
> Piotr might be better at helping you use Moonshine.  The IDEs sort of
> expect that the libraries/SWCs that your code needs is in the same folder
> as the compiler.  That's why it might be easier to work from the command
> line.
>
>
>
> I remembered this morning that the Royale SWF Compiler doesn't have
> embedded font support.  However the goal isn't so much to make a runnable
> SWF but to have the compilation and linking complete so we can determine
> the full set of Flex APIs used in your app.
>
>
>
> If your code has two projects, then we will want you to compile both
> projects with the Royale compiler and get two API reports.  The Library
> project would be compiled with js/bin/compc and the main app would be
> compiled with js/

RE: Substitutes in Apache Royale

2018-02-23 Thread Alina Kazi
Hi Alex,

 

Still facing similar issue. 

Can you please share link for repo or build machine royale-asjs folder.

 

Thanks,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Friday, February 23, 2018 12:47 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

That's a pretty strange result.  I just tried it on my Windows machine without 
any problem.  I'm wondering if something got corrupted or there is a code-page 
issue.

 

Try setting the environment variable

JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

 

If that doesn't help, try comparing the files in the royale-asjs folder with 
the ones on our repo or build machine.

 

HTH,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Thursday, February 22, 2018 at 9:21 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Issue - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink
 
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaper.dropbox.com%2Fdoc%2FError-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k%3F_tk%3Dshare_copylink&data=02%7C01%7Caharui%40adobe.com%7C4b416955dccc4c69504808d57a7efb17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549608168968520&sdata=AEHhsqj5zJDyXNXZKCwUa26iGJQnttV2KRABlgtxsj0%3D&reserved=0>
 

 

Thanks,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, February 20, 2018 11:30 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

In fact, I went and tried it just now to build a Flex Hello World.

 

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

 

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).

- unzipped the package

- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

That results in a working Royale SDK with SWF Support.

 

Then I ran from the royale-asjs folder:

 

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

 

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

 

Thanks,

-Alex

 

[1] http://royale.apache.org/download/

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

 

HTH,

-Alex

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

 

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

 

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

 

I think you will want to use the compiler option:

   -load-config="path to a Flex SDK flex-config.xml" 

and also use

  –compiler.targets=SWF

 

HTH,

-Alex

 

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

Our Flex Application(Main Project) is dependent on Flex Library Project , I 
tookoriginal code (Library Project) without porting it, Compiling it using 
Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or 
apache-royale-0.9.0-bin-js-swf)



 

Moonshine IDE (1.9.0) Console :

Loading configuration: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml

: 

: C:\Users\aleena\Documents\SHMALIB\defaults Error: unable to open 
'C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\frameworks\royale-config.xml'.

: defaults (line: -1)

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(35): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js

Re: Substitutes in Apache Royale

2018-02-22 Thread Alex Harui
Hi Alina,

That's a pretty strange result.  I just tried it on my Windows machine without 
any problem.  I'm wondering if something got corrupted or there is a code-page 
issue.

Try setting the environment variable
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

If that doesn't help, try comparing the files in the royale-asjs folder with 
the ones on our repo or build machine.

HTH,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Thursday, February 22, 2018 at 9:21 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Issue - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaper.dropbox.com%2Fdoc%2FError-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k%3F_tk%3Dshare_copylink&data=02%7C01%7Caharui%40adobe.com%7C4b416955dccc4c69504808d57a7efb17%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636549608168968520&sdata=AEHhsqj5zJDyXNXZKCwUa26iGJQnttV2KRABlgtxsj0%3D&reserved=0>

Thanks,
Alina
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Tuesday, February 20, 2018 11:30 PM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

In fact, I went and tried it just now to build a Flex Hello World.

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).
- unzipped the package
- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

That results in a working Royale SDK with SWF Support.

Then I ran from the royale-asjs folder:

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

Thanks,
-Alex

[1] http://royale.apache.org/download/

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

HTH,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

I think you will want to use the compiler option:
   -load-config="path to a Flex SDK flex-config.xml"
and also use
  –compiler.targets=SWF

HTH,
-Alex


From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Our Flex Application(Main Project) is dependent on Flex Library Project , I 
tookoriginal code (Library Project) without porting it, Compiling it using 
Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or 
apache-royale-0.9.0-bin-js-swf)
[cid:image001.png@01D3AC90.07F82F50]

Moonshine IDE (1.9.0) Console :
Loading configurat

Re: Substitutes in Apache Royale

2018-02-22 Thread Piotr Zarzycki
Alina,

InstallAdobeSDK is only a helper, if you want to you can download Apache
Flex with Adobe Air through the installer [1].

[1] https://flex.apache.org/installer.html

Thanks, Piotr

2018-02-23 6:21 GMT+01:00 Alina Kazi :

> Issue *- ran in the package's royale-asjs folder: ant –f
> InstallAdobeSDKs.xml*
>
>
>
> https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.
> xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink
>
>
>
> Thanks,
>
> Alina
>
> *From:* Alex Harui [mailto:aha...@adobe.com]
> *Sent:* Tuesday, February 20, 2018 11:30 PM
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> In fact, I went and tried it just now to build a Flex Hello World.
>
>
>
> I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.
> Then I:
>
>
>
> - took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use
> the bin-js-swf and not just bin-js).
>
> - unzipped the package
>
> - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml
>
>
>
> That results in a working Royale SDK with SWF Support.
>
>
>
> Then I ran from the royale-asjs folder:
>
>
>
>   bin/mxmlc  -load-config=/Users/aharui/
> ApacheFlex4.16.0/frameworks/flex-config.xml
>
>
>
> The compile finished successfully.  I think I'm going to work on the API
> report now and deal with the * selector after.  If you can get a SWF build
> via this technique, this is the technique you will use to generate the API
> report.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> [1] http://royale.apache.org/download/
>
>
>
> *From: *Alex Harui 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 19, 2018 at 11:46 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Substitutes in Apache Royale
>
>
>
> Sorry, just realized I referenced the JS compiler.  Please try using
> bin/compc and bin/mxmlc.  You won't need the –targets parameter, just the
> load-config option.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Alex Harui 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 19, 2018 at 11:14 PM
> *To: *"users@royale.apache.org" 
> *Subject: *Re: Substitutes in Apache Royale
>
>
>
> Hi Alina,
>
>
>
> Piotr might be better at helping you use Moonshine.  The IDEs sort of
> expect that the libraries/SWCs that your code needs is in the same folder
> as the compiler.  That's why it might be easier to work from the command
> line.
>
>
>
> I remembered this morning that the Royale SWF Compiler doesn't have
> embedded font support.  However the goal isn't so much to make a runnable
> SWF but to have the compilation and linking complete so we can determine
> the full set of Flex APIs used in your app.
>
>
>
> If your code has two projects, then we will want you to compile both
> projects with the Royale compiler and get two API reports.  The Library
> project would be compiled with js/bin/compc and the main app would be
> compiled with js/bin/mxmlc.
>
>
>
> I think you will want to use the compiler option:
>
>-load-config="path to a Flex SDK flex-config.xml"
>
> and also use
>
>   –compiler.targets=SWF
>
>
>
> HTH,
>
> -Alex
>
>
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Monday, February 19, 2018 at 10:10 PM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Substitutes in Apache Royale
>
>
>
> Hi Alex,
>
> Our Flex Application(Main Project) is dependent on Flex Library Project ,
> I tookoriginal code (Library Project) without porting it, Compiling it
> using Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or
> apache-royale-0.9.0-bin-js-swf)
>
>
>
> *Moonshine IDE (1.9.0) Console :*
>
> Loading configuration: C:\Users\aleena\Documents\
> SHMALIB\obj\SHMALIBConfig.xml
>
> :
>
> : C:\Users\aleena\Documents\SHMALIB\defaults Error: unable to open
> 'C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\
> frameworks\royale-config.xml'.
>
> : defaults (line: -1)
>
> :
>
> :
>
> : C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(35): col: 0
> Error: unable to open 'D:\apache-royale-0.9.1-bin-
> js-swf\royale-asjs\frameworks\mx-manifest.xml'.
>
> : C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 35)
>
> :
>
> :   
>
> :
>
> :
>
> : C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0
> Error: unabl

RE: Substitutes in Apache Royale

2018-02-22 Thread Alina Kazi
Issue - ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

https://paper.dropbox.com/doc/Error-ant-f-InstallAdobeSDKs.xml-mIQ4MigH799EdiZ341l7k?_tk=share_copylink

 

Thanks,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Tuesday, February 20, 2018 11:30 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

In fact, I went and tried it just now to build a Flex Hello World.

 

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

 

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).

- unzipped the package

- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

 

That results in a working Royale SDK with SWF Support.

 

Then I ran from the royale-asjs folder:

 

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

 

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

 

Thanks,

-Alex

 

[1] http://royale.apache.org/download/

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

 

HTH,

-Alex

 

From: Alex Harui 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org" 
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

 

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

 

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

 

I think you will want to use the compiler option:

   -load-config="path to a Flex SDK flex-config.xml" 

and also use

  –compiler.targets=SWF

 

HTH,

-Alex

 

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

Our Flex Application(Main Project) is dependent on Flex Library Project , I 
tookoriginal code (Library Project) without porting it, Compiling it using 
Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or 
apache-royale-0.9.0-bin-js-swf)



 

Moonshine IDE (1.9.0) Console :

Loading configuration: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml

: 

: C:\Users\aleena\Documents\SHMALIB\defaults Error: unable to open 
'C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\frameworks\royale-config.xml'.

: defaults (line: -1)

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(35): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\mx-manifest.xml'.

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 35)

: 

:   

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\player\11.0\playerglobal.swc'.

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)

: 

: 

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\rpc.swc'.

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)

: 

: 

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\osmf.swc'.

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)

: 

: 

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\spark.swc'.

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)

: 

: 

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(

Re: Substitutes in Apache Royale

2018-02-21 Thread Piotr Zarzycki
Alina,

In theory if you take  -api–report=path to "Additional compiler options" in
Moonshine and build project using "Project" -> "Build Project" you may be
able to have report without using console.

Thanks, Piotr

2018-02-21 9:36 GMT+01:00 Gabe Harbs :

> Yes. I cannot imagine how we would have managed the port without the stubs.
>
> You also get a list of TODOs in the app which can be gradually reduced as
> more of the app starts working correctly.
>
> Creating the stubs was something which took us about 2 weeks of intense
> work. A utility which creates stubs which includes classes, used properties
> and methods with parameters and type data would save a tremendous amount of
> time for users porting code.
>
> I think this report (if we have additional type information) is the right
> way to go about that. The paths in the report could be modified to place
> all the stub classes in a specific folder. Our goal while porting was to
> get rid of as many classes as possible from our “dummy” package.
>
> HTH,
> Harbs
>
> On Feb 21, 2018, at 10:25 AM, Yishay Weiss  wrote:
>
> The stubs were useful to have the app compile and to test functionality.
> Once there’s an app running, albeit with runtime errors, you can
> incrementally implement the missing parts.
>
> We were thinking that the report, if providing a complete description,
> could be parsed by an automation tool which would create these stubs.
>
>
> *From: *Alex Harui 
> *Sent: *Wednesday, February 21, 2018 9:26 AM
> *To: *users@royale.apache.org
> *Subject: *Re: Substitutes in Apache Royale
>
> What did the stub classes do?  I suppose you could add signatures to the
> report, but you could also find the signature in the source or ASDoc.
>
> The numbers represent the number of times the API was resolved to a
> definition, which is, at least for now,  not 1:1 related to how often it
> was seen in the code, but sort of gives a relative measure of how often
> that API was used compared to other APIs of that type.  IOW, there are two
> kinds of APIs in the HelloWorld report:  Classes and properties.Classes
> seem to get resolved multiple times per use.  Properties seem to get
> resolved once per use.  At least in an example this simple.
>
> IMO, it is inefficient for the compiler to resolve things more than once
> per use, so that points to a possible place to speed up the compiler some
> day.
>
> -Alex
>
> *From: *Yishay Weiss 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Tuesday, February 20, 2018 at 11:00 PM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Substitutes in Apache Royale
>
> This is pretty cool. If we had the method signatures we could use this
> report as a source for a utility that creates stub classes. That’s a step
> we performed manually (with some help from FB) when porting our app. BTW,
> what are the numbers at the end of the line?
>
> *From: *Alex Harui 
> *Sent: *Wednesday, February 21, 2018 8:38 AM
> *To: *users@royale.apache.org
> *Subject: *Re: Substitutes in Apache Royale
>
> OK, I've implemented the first attempt at an API report.  Get the latest
> -bin–js-swf package from here:
> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/
> lastSuccessfulBuild/artifact/out
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7Caharui%40adobe.com%7C562b9205ba0d4d92125408d578f8ca02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547932324282121&sdata=7XcFkgrlhifiotmXdupLTMz0dOWmB2GmoKJT3Rc%2B2dI%3D&reserved=0>
> /
>
> Follow the instructions in my prior post below.
>
> If you get a successful compile, then try it again and add an additional
> compiler option: -api–report=
>
> The output file should look something like this:
>
> Flex46Project:foo,14
> mx.collections.ArrayCollection,13
> mx.collections.ArrayCollection:sort,4
> mx.collections.Sort,11
> mx.controls.Label:text,1
> spark.components.Application:minHeight,1
> spark.components.Application:minWidth,1
> spark.components.Application:mxmlContentFactory,2
>
> That was for a hello world.  I expect a much longer list for a real app.
> Your code will be listed as well so you may wish to delete those lines
> before posting the results for us to see.  Attachments don't always work on
> these mailing lists so post a link to the report stored on some service
> like pastebin or paste.apache.org or dropbox or create a GitHub issue and
> post it there.
>
> Again, this is a first attempt at an API report, so before we put any
> faith in it, it would h

Re: Substitutes in Apache Royale

2018-02-21 Thread Gabe Harbs
Yup. I’d be happy to work on a tool which creates stubs, but we’re going to 
need the type info on properties and methods in order to do that properly.

I don’t know how to add that to the report you created. I’m not sure where to 
get the type data of packages outside Royale other than the declared types in 
the source code.

Harbs

> On Feb 21, 2018, at 10:36 AM, Alex Harui  wrote:
> 
> Feel free to enhance the changes I made.
> 
> -Alex
> 
> From: Yishay Weiss mailto:yishayj...@hotmail.com>>
> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>" 
> mailto:users@royale.apache.org>>
> Date: Wednesday, February 21, 2018 at 12:25 AM
> To: "users@royale.apache.org <mailto:users@royale.apache.org>" 
> mailto:users@royale.apache.org>>
> Subject: RE: Substitutes in Apache Royale
> 
> The stubs were useful to have the app compile and to test functionality. Once 
> there’s an app running, albeit with runtime errors, you can incrementally 
> implement the missing parts.
>  
> We were thinking that the report, if providing a complete description, could 
> be parsed by an automation tool which would create these stubs.
>  
>  
> From: Alex Harui <mailto:aha...@adobe.com>
> Sent: Wednesday, February 21, 2018 9:26 AM
> To: users@royale.apache.org <mailto:users@royale.apache.org>
> Subject: Re: Substitutes in Apache Royale
>  
> What did the stub classes do?  I suppose you could add signatures to the 
> report, but you could also find the signature in the source or ASDoc.
>  
> The numbers represent the number of times the API was resolved to a 
> definition, which is, at least for now,  not 1:1 related to how often it was 
> seen in the code, but sort of gives a relative measure of how often that API 
> was used compared to other APIs of that type.  IOW, there are two kinds of 
> APIs in the HelloWorld report:  Classes and properties.Classes seem to 
> get resolved multiple times per use.  Properties seem to get resolved once 
> per use.  At least in an example this simple.
>  
> IMO, it is inefficient for the compiler to resolve things more than once per 
> use, so that points to a possible place to speed up the compiler some day.
>  
> -Alex
>  
> From: Yishay Weiss mailto:yishayj...@hotmail.com>>
> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>" 
> mailto:users@royale.apache.org>>
> Date: Tuesday, February 20, 2018 at 11:00 PM
> To: "users@royale.apache.org <mailto:users@royale.apache.org>" 
> mailto:users@royale.apache.org>>
> Subject: RE: Substitutes in Apache Royale
>  
> This is pretty cool. If we had the method signatures we could use this report 
> as a source for a utility that creates stub classes. That’s a step we 
> performed manually (with some help from FB) when porting our app. BTW, what 
> are the numbers at the end of the line?
>  
> From: Alex Harui <mailto:aha...@adobe.com>
> Sent: Wednesday, February 21, 2018 8:38 AM
> To: users@royale.apache.org <mailto:users@royale.apache.org>
> Subject: Re: Substitutes in Apache Royale
>  
> OK, I've implemented the first attempt at an API report.  Get the latest 
> -bin–js-swf package from here:
> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out
>  
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7Caharui%40adobe.com%7C562b9205ba0d4d92125408d578f8ca02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547932324282121&sdata=7XcFkgrlhifiotmXdupLTMz0dOWmB2GmoKJT3Rc%2B2dI%3D&reserved=0>/
>  
> Follow the instructions in my prior post below.
>  
> If you get a successful compile, then try it again and add an additional 
> compiler option: -api–report=
>  
> The output file should look something like this:
>  
> Flex46Project:foo,14
> mx.collections.ArrayCollection,13
> mx.collections.ArrayCollection:sort,4
> mx.collections.Sort,11
> mx.controls.Label:text,1
> spark.components.Application:minHeight,1
> spark.components.Application:minWidth,1
> spark.components.Application:mxmlContentFactory,2
>  
> That was for a hello world.  I expect a much longer list for a real app.  
> Your code will be listed as well so you may wish to delete those lines before 
> posting the results for us to see.  Attachments don't always work on these 
> mailing lists so post a link to the report stored on some service like 
> pastebin or paste.apache.org or dropbox or create a GitHub issue and post it 
> there.
>  
> Again, this is a firs

Re: Substitutes in Apache Royale

2018-02-21 Thread Alex Harui
Feel free to enhance the changes I made.

-Alex

From: Yishay Weiss mailto:yishayj...@hotmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Wednesday, February 21, 2018 at 12:25 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

The stubs were useful to have the app compile and to test functionality. Once 
there’s an app running, albeit with runtime errors, you can incrementally 
implement the missing parts.

We were thinking that the report, if providing a complete description, could be 
parsed by an automation tool which would create these stubs.


From: Alex Harui<mailto:aha...@adobe.com>
Sent: Wednesday, February 21, 2018 9:26 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

What did the stub classes do?  I suppose you could add signatures to the 
report, but you could also find the signature in the source or ASDoc.

The numbers represent the number of times the API was resolved to a definition, 
which is, at least for now,  not 1:1 related to how often it was seen in the 
code, but sort of gives a relative measure of how often that API was used 
compared to other APIs of that type.  IOW, there are two kinds of APIs in the 
HelloWorld report:  Classes and properties.Classes seem to get resolved 
multiple times per use.  Properties seem to get resolved once per use.  At 
least in an example this simple.

IMO, it is inefficient for the compiler to resolve things more than once per 
use, so that points to a possible place to speed up the compiler some day.

-Alex

From: Yishay Weiss mailto:yishayj...@hotmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 11:00 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

This is pretty cool. If we had the method signatures we could use this report 
as a source for a utility that creates stub classes. That’s a step we performed 
manually (with some help from FB) when porting our app. BTW, what are the 
numbers at the end of the line?

From: Alex Harui<mailto:aha...@adobe.com>
Sent: Wednesday, February 21, 2018 8:38 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

OK, I've implemented the first attempt at an API report.  Get the latest 
-bin–js-swf package from here:
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7Caharui%40adobe.com%7C562b9205ba0d4d92125408d578f8ca02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547932324282121&sdata=7XcFkgrlhifiotmXdupLTMz0dOWmB2GmoKJT3Rc%2B2dI%3D&reserved=0>/

Follow the instructions in my prior post below.

If you get a successful compile, then try it again and add an additional 
compiler option: -api–report=

The output file should look something like this:

Flex46Project:foo,14
mx.collections.ArrayCollection,13
mx.collections.ArrayCollection:sort,4
mx.collections.Sort,11
mx.controls.Label:text,1
spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2

That was for a hello world.  I expect a much longer list for a real app.  Your 
code will be listed as well so you may wish to delete those lines before 
posting the results for us to see.  Attachments don't always work on these 
mailing lists so post a link to the report stored on some service like pastebin 
or paste.apache.org or dropbox or create a GitHub issue and post it there.

Again, this is a first attempt at an API report, so before we put any faith in 
it, it would help if you think about your code a bit and whether anything might 
be missing.

Thanks,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 10:30 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

In fact, I went and tried it just now to build a Flex Hello World.

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).
- unzipped the package
- ran in the package's royale-asjs 

Re: Substitutes in Apache Royale

2018-02-21 Thread Gabe Harbs
Yes. I cannot imagine how we would have managed the port without the stubs.

You also get a list of TODOs in the app which can be gradually reduced as more 
of the app starts working correctly.

Creating the stubs was something which took us about 2 weeks of intense work. A 
utility which creates stubs which includes classes, used properties and methods 
with parameters and type data would save a tremendous amount of time for users 
porting code.

I think this report (if we have additional type information) is the right way 
to go about that. The paths in the report could be modified to place all the 
stub classes in a specific folder. Our goal while porting was to get rid of as 
many classes as possible from our “dummy” package.

HTH,
Harbs

> On Feb 21, 2018, at 10:25 AM, Yishay Weiss  wrote:
> 
> The stubs were useful to have the app compile and to test functionality. Once 
> there’s an app running, albeit with runtime errors, you can incrementally 
> implement the missing parts.
>  
> We were thinking that the report, if providing a complete description, could 
> be parsed by an automation tool which would create these stubs.
>  
>  
> From: Alex Harui <mailto:aha...@adobe.com>
> Sent: Wednesday, February 21, 2018 9:26 AM
> To: users@royale.apache.org <mailto:users@royale.apache.org>
> Subject: Re: Substitutes in Apache Royale
>  
> What did the stub classes do?  I suppose you could add signatures to the 
> report, but you could also find the signature in the source or ASDoc.
>  
> The numbers represent the number of times the API was resolved to a 
> definition, which is, at least for now,  not 1:1 related to how often it was 
> seen in the code, but sort of gives a relative measure of how often that API 
> was used compared to other APIs of that type.  IOW, there are two kinds of 
> APIs in the HelloWorld report:  Classes and properties.Classes seem to 
> get resolved multiple times per use.  Properties seem to get resolved once 
> per use.  At least in an example this simple.
>  
> IMO, it is inefficient for the compiler to resolve things more than once per 
> use, so that points to a possible place to speed up the compiler some day.
>  
> -Alex
>  
> From: Yishay Weiss mailto:yishayj...@hotmail.com>>
> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>" 
> mailto:users@royale.apache.org>>
> Date: Tuesday, February 20, 2018 at 11:00 PM
> To: "users@royale.apache.org <mailto:users@royale.apache.org>" 
> mailto:users@royale.apache.org>>
> Subject: RE: Substitutes in Apache Royale
>  
> This is pretty cool. If we had the method signatures we could use this report 
> as a source for a utility that creates stub classes. That’s a step we 
> performed manually (with some help from FB) when porting our app. BTW, what 
> are the numbers at the end of the line?
>  
> From: Alex Harui <mailto:aha...@adobe.com>
> Sent: Wednesday, February 21, 2018 8:38 AM
> To: users@royale.apache.org <mailto:users@royale.apache.org>
> Subject: Re: Substitutes in Apache Royale
>  
> OK, I've implemented the first attempt at an API report.  Get the latest 
> -bin–js-swf package from here:
> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out
>  
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7Caharui%40adobe.com%7C562b9205ba0d4d92125408d578f8ca02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547932324282121&sdata=7XcFkgrlhifiotmXdupLTMz0dOWmB2GmoKJT3Rc%2B2dI%3D&reserved=0>/
>  
> Follow the instructions in my prior post below.
>  
> If you get a successful compile, then try it again and add an additional 
> compiler option: -api–report=
>  
> The output file should look something like this:
>  
> Flex46Project:foo,14
> mx.collections.ArrayCollection,13
> mx.collections.ArrayCollection:sort,4
> mx.collections.Sort,11
> mx.controls.Label:text,1
> spark.components.Application:minHeight,1
> spark.components.Application:minWidth,1
> spark.components.Application:mxmlContentFactory,2
>  
> That was for a hello world.  I expect a much longer list for a real app.  
> Your code will be listed as well so you may wish to delete those lines before 
> posting the results for us to see.  Attachments don't always work on these 
> mailing lists so post a link to the report stored on some service like 
> pastebin or paste.apache.org or dropbox or create a GitHub issue and post it 
> there.
>  
> Again, this is a first attempt at an API report, so before we put any faith 
> in it, it would help if y

RE: Substitutes in Apache Royale

2018-02-21 Thread Yishay Weiss
The stubs were useful to have the app compile and to test functionality. Once 
there’s an app running, albeit with runtime errors, you can incrementally 
implement the missing parts.

We were thinking that the report, if providing a complete description, could be 
parsed by an automation tool which would create these stubs.


From: Alex Harui<mailto:aha...@adobe.com>
Sent: Wednesday, February 21, 2018 9:26 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

What did the stub classes do?  I suppose you could add signatures to the 
report, but you could also find the signature in the source or ASDoc.

The numbers represent the number of times the API was resolved to a definition, 
which is, at least for now,  not 1:1 related to how often it was seen in the 
code, but sort of gives a relative measure of how often that API was used 
compared to other APIs of that type.  IOW, there are two kinds of APIs in the 
HelloWorld report:  Classes and properties.Classes seem to get resolved 
multiple times per use.  Properties seem to get resolved once per use.  At 
least in an example this simple.

IMO, it is inefficient for the compiler to resolve things more than once per 
use, so that points to a possible place to speed up the compiler some day.

-Alex

From: Yishay Weiss mailto:yishayj...@hotmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 11:00 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

This is pretty cool. If we had the method signatures we could use this report 
as a source for a utility that creates stub classes. That’s a step we performed 
manually (with some help from FB) when porting our app. BTW, what are the 
numbers at the end of the line?

From: Alex Harui<mailto:aha...@adobe.com>
Sent: Wednesday, February 21, 2018 8:38 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

OK, I've implemented the first attempt at an API report.  Get the latest 
-bin–js-swf package from here:
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7Caharui%40adobe.com%7C562b9205ba0d4d92125408d578f8ca02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547932324282121&sdata=7XcFkgrlhifiotmXdupLTMz0dOWmB2GmoKJT3Rc%2B2dI%3D&reserved=0>/

Follow the instructions in my prior post below.

If you get a successful compile, then try it again and add an additional 
compiler option: -api–report=

The output file should look something like this:

Flex46Project:foo,14
mx.collections.ArrayCollection,13
mx.collections.ArrayCollection:sort,4
mx.collections.Sort,11
mx.controls.Label:text,1
spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2

That was for a hello world.  I expect a much longer list for a real app.  Your 
code will be listed as well so you may wish to delete those lines before 
posting the results for us to see.  Attachments don't always work on these 
mailing lists so post a link to the report stored on some service like pastebin 
or paste.apache.org or dropbox or create a GitHub issue and post it there.

Again, this is a first attempt at an API report, so before we put any faith in 
it, it would help if you think about your code a bit and whether anything might 
be missing.

Thanks,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 10:30 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

In fact, I went and tried it just now to build a Flex Hello World.

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).
- unzipped the package
- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

That results in a working Royale SDK with SWF Support.

Then I ran from the royale-asjs folder:

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate th

Re: Substitutes in Apache Royale

2018-02-20 Thread Alex Harui
What did the stub classes do?  I suppose you could add signatures to the 
report, but you could also find the signature in the source or ASDoc.

The numbers represent the number of times the API was resolved to a definition, 
which is, at least for now,  not 1:1 related to how often it was seen in the 
code, but sort of gives a relative measure of how often that API was used 
compared to other APIs of that type.  IOW, there are two kinds of APIs in the 
HelloWorld report:  Classes and properties.Classes seem to get resolved 
multiple times per use.  Properties seem to get resolved once per use.  At 
least in an example this simple.

IMO, it is inefficient for the compiler to resolve things more than once per 
use, so that points to a possible place to speed up the compiler some day.

-Alex

From: Yishay Weiss mailto:yishayj...@hotmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 11:00 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

This is pretty cool. If we had the method signatures we could use this report 
as a source for a utility that creates stub classes. That’s a step we performed 
manually (with some help from FB) when porting our app. BTW, what are the 
numbers at the end of the line?

From: Alex Harui<mailto:aha...@adobe.com>
Sent: Wednesday, February 21, 2018 8:38 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

OK, I've implemented the first attempt at an API report.  Get the latest 
-bin–js-swf package from here:
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2Fout&data=02%7C01%7Caharui%40adobe.com%7C562b9205ba0d4d92125408d578f8ca02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547932324282121&sdata=7XcFkgrlhifiotmXdupLTMz0dOWmB2GmoKJT3Rc%2B2dI%3D&reserved=0>/

Follow the instructions in my prior post below.

If you get a successful compile, then try it again and add an additional 
compiler option: -api–report=

The output file should look something like this:

Flex46Project:foo,14
mx.collections.ArrayCollection,13
mx.collections.ArrayCollection:sort,4
mx.collections.Sort,11
mx.controls.Label:text,1
spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2

That was for a hello world.  I expect a much longer list for a real app.  Your 
code will be listed as well so you may wish to delete those lines before 
posting the results for us to see.  Attachments don't always work on these 
mailing lists so post a link to the report stored on some service like pastebin 
or paste.apache.org or dropbox or create a GitHub issue and post it there.

Again, this is a first attempt at an API report, so before we put any faith in 
it, it would help if you think about your code a bit and whether anything might 
be missing.

Thanks,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 10:30 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

In fact, I went and tried it just now to build a Flex Hello World.

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).
- unzipped the package
- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

That results in a working Royale SDK with SWF Support.

Then I ran from the royale-asjs folder:

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

Thanks,
-Alex

[1] 
http://royale.apache.org/download/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Froyale.apache.org%2Fdownload%2F&data=02%7C01%7Caharui%40adobe.com%7C562b9205ba0d4d92125408d578f8ca02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547932324282121&sdata=4xzeKQl6qCfAy90Bj7yQVfC%2BM5tzh1CiFT3fpIsob%2BA%3D&reserved=0>

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:

RE: Substitutes in Apache Royale

2018-02-20 Thread Yishay Weiss
This is pretty cool. If we had the method signatures we could use this report 
as a source for a utility that creates stub classes. That’s a step we performed 
manually (with some help from FB) when porting our app. BTW, what are the 
numbers at the end of the line?

From: Alex Harui<mailto:aha...@adobe.com>
Sent: Wednesday, February 21, 2018 8:38 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

OK, I've implemented the first attempt at an API report.  Get the latest 
-bin–js-swf package from here:
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/

Follow the instructions in my prior post below.

If you get a successful compile, then try it again and add an additional 
compiler option: -api–report=

The output file should look something like this:

Flex46Project:foo,14
mx.collections.ArrayCollection,13
mx.collections.ArrayCollection:sort,4
mx.collections.Sort,11
mx.controls.Label:text,1
spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2

That was for a hello world.  I expect a much longer list for a real app.  Your 
code will be listed as well so you may wish to delete those lines before 
posting the results for us to see.  Attachments don't always work on these 
mailing lists so post a link to the report stored on some service like pastebin 
or paste.apache.org or dropbox or create a GitHub issue and post it there.

Again, this is a first attempt at an API report, so before we put any faith in 
it, it would help if you think about your code a bit and whether anything might 
be missing.

Thanks,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 10:30 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

In fact, I went and tried it just now to build a Flex Hello World.

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).
- unzipped the package
- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

That results in a working Royale SDK with SWF Support.

Then I ran from the royale-asjs folder:

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

Thanks,
-Alex

[1] http://royale.apache.org/download/

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

HTH,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

I think you will want to use the compiler option:
   -load-config="path to a Flex SDK flex-config.xml"
and also use
  –compiler.targets=SWF

HTH,
-Alex


From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Da

Re: Substitutes in Apache Royale

2018-02-20 Thread Alex Harui
OK, I've implemented the first attempt at an API report.  Get the latest 
-bin–js-swf package from here:
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/

Follow the instructions in my prior post below.

If you get a successful compile, then try it again and add an additional 
compiler option: -api–report=

The output file should look something like this:

Flex46Project:foo,14
mx.collections.ArrayCollection,13
mx.collections.ArrayCollection:sort,4
mx.collections.Sort,11
mx.controls.Label:text,1
spark.components.Application:minHeight,1
spark.components.Application:minWidth,1
spark.components.Application:mxmlContentFactory,2

That was for a hello world.  I expect a much longer list for a real app.  Your 
code will be listed as well so you may wish to delete those lines before 
posting the results for us to see.  Attachments don't always work on these 
mailing lists so post a link to the report stored on some service like pastebin 
or paste.apache.org or dropbox or create a GitHub issue and post it there.

Again, this is a first attempt at an API report, so before we put any faith in 
it, it would help if you think about your code a bit and whether anything might 
be missing.

Thanks,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, February 20, 2018 at 10:30 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

In fact, I went and tried it just now to build a Flex Hello World.

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).
- unzipped the package
- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

That results in a working Royale SDK with SWF Support.

Then I ran from the royale-asjs folder:

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

Thanks,
-Alex

[1] http://royale.apache.org/download/

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

HTH,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

I think you will want to use the compiler option:
   -load-config="path to a Flex SDK flex-config.xml"
and also use
  –compiler.targets=SWF

HTH,
-Alex


From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Our Flex Application(Main Project) is dependent on Flex Library Project , I 
tookoriginal code (Library Project) without porting it, Compiling it using 
Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or 
apache-royale-0.9.0-bin-js-swf)

Re: Substitutes in Apache Royale

2018-02-20 Thread Alex Harui
In fact, I went and tried it just now to build a Flex Hello World.

I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.  Then I:

- took the apache-royale-0.9.1-bin-js-swf package from [1]  (you must use the 
bin-js-swf and not just bin-js).
- unzipped the package
- ran in the package's royale-asjs folder: ant –f InstallAdobeSDKs.xml

That results in a working Royale SDK with SWF Support.

Then I ran from the royale-asjs folder:

  bin/mxmlc  
-load-config=/Users/aharui/ApacheFlex4.16.0/frameworks/flex-config.xml

The compile finished successfully.  I think I'm going to work on the API report 
now and deal with the * selector after.  If you can get a SWF build via this 
technique, this is the technique you will use to generate the API report.

Thanks,
-Alex

[1] http://royale.apache.org/download/

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:46 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

HTH,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

I think you will want to use the compiler option:
   -load-config="path to a Flex SDK flex-config.xml"
and also use
  –compiler.targets=SWF

HTH,
-Alex


From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Our Flex Application(Main Project) is dependent on Flex Library Project , I 
tookoriginal code (Library Project) without porting it, Compiling it using 
Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or 
apache-royale-0.9.0-bin-js-swf)
[cid:image001.png@01D3AA3A.7CAB69F0]

Moonshine IDE (1.9.0) Console :
Loading configuration: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml
:
: C:\Users\aleena\Documents\SHMALIB\defaults Error: unable to open 
'C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\frameworks\royale-config.xml'.
: defaults (line: -1)
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(35): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\mx-manifest.xml'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 35)
:
:   
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\player\11.0\playerglobal.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\rpc.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\osmf.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\spark.swc'.
: C:\Users\aleena\Documents\SHMALIB\

RE: Substitutes in Apache Royale

2018-02-20 Thread Alina Kazi
Piotr,

It was library missing error . Fcsh.jar file was missing and I download that 
file and got this error: 

Compiling SHMALIB
: Sending to mxmlc: mxmlc -load-config+=obj/SHMALIBConfig.xml
-services=src/services-config.xml -locale=en_US -debug=true -o
bin-debug/SHMALib.swf
: Error: Could not find or load main class flex2.tools.Fcsh
: Caused by: java.lang.NoClassDefFoundError: flex2/tools/Tool 

 

 

SHMALib is Flex Library Project it should generate .swc file so that we can use 
it in Actual (Main) Project.

 

Now the Error is:

Using Royale SDK: 
C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\royale-asjs

: WARNING: An illegal reflective access operation has occurred

: WARNING: Illegal reflective access by 
com.google.common.base.internal.Finalizer 
(file:/D:/apache-royale-0.9.1-bin-js-swf/royale-asjs/lib/external/guava.jar) to 
field java.lang.Thread.inheritableThreadLocals

: WARNING: Please consider reporting this to the maintainers of 
com.google.common.base.internal.Finalizer

: WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations

: WARNING: All illegal access operations will be denied in a future release

: Unknown tag:compiler.targets

 

Tomorrow I will do that exercise “change Royale SDK to Apache Flex SDK and 
build project”. I will let you know.

SDK version which was used to build application Flex 4.0.0  and IDE Adobe Flash 
Builder 4

 

Regards,

Alina

From: Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com] 
Sent: Tuesday, February 20, 2018 4:08 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Alina,

 

The things which you are trying to do is, build your project which is written 
in Flex with Royale swf compiler. I'm wondering whether IDE allows you to do 
this. As I can see it tries to use  Fcsh in Royale SDK.

 

Try to as an exercise change Royale SDK to Apache Flex SDK and build your 
project. What was the SDK version originally which was used to build that 
application ?

 

Thanks, Piotr

 

 

2018-02-20 11:38 GMT+01:00 Alina Kazi :

Thanks Piotr.
Successfully followed all the steps except :
Maybe you will have to also download Apache Flex SDK with Adobe AIR and
setup environment variables:

FLEX_HOME=path to the flexsdk folder
AIR_HOME=path to the flexsdk folder


Error occurred:

Compiling SHMALIB
: Sending to mxmlc: mxmlc -load-config+=obj/SHMALIBConfig.xml
-services=src/services-config.xml -locale=en_US -debug=true -o
bin-debug/SHMALib.swf
: Error: Could not find or load main class flex2.tools.Fcsh
: Caused by: java.lang.NoClassDefFoundError: flex2/tools/Tool

I will download Apache Flex SDK with Adobe AIR and set variables , then I
will tell you about further progress.

SWF output file is Attached.
Thanks,
Alina
-Original Message-
From: piotrz [mailto:pio...@apache.org]
Sent: Tuesday, February 20, 2018 2:05 PM
To: users@royale.apache.org
Subject: RE: Substitutes in Apache Royale

Hi Alina,

Here I am! :) Everything what you need to setup is under right click on the
project -> Settings.

1) Setup Library. Right click on the project and choose Settings. In the
section Libraries choose folder libs. My screenshot:

<http://apache-royale-users.20374.n8.nabble.com/file/t1/library_setup.png>

2) If you need any additional compiler options go to the Build options and
specify them in the "Additional compiler options". I see that you are using
service-config.xml - In my screenshot is an example how did I show compiler
where that file is.
Royale JS compiler version probably won't understand -service, maybe swf
understand.

<http://apache-royale-users.20374.n8.nabble.com/file/t1/additional_compiler_ 
<http://apache-royale-users.20374.n8.nabble.com/file/t1/additional_compiler_%0d%0aconfig.png>
 
config.png>

3) I see among your errors that you are missing playerglobal.swc. Because
you are using js, swf version of Royale you need to download additional
dependencies. To me it is enough if you download playerglobal.swc 11.0 [1]
and place it to frameworks\libs\player\11.0\playerglobal.swc - name should
be as you see here.
Maybe you will have to also download Apache Flex SDK with Adobe AIR and
setup environment variables:

FLEX_HOME=path to the flexsdk folder
AIR_HOME=path to the flexsdk folder

4) Building
Alex is asking you to build your project using SWF compiler - In order to do
that choose "Project" -> "Build Project" - it will use SWF compiler
Build to JS only "Project" -> "Build as JavaScript"

[1] https://goo.gl/AQhG21

Thanks,
Piotr




--
Sent from: http://apache-royale-users.20374.n8.nabble.com/





 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki



Re: Substitutes in Apache Royale

2018-02-20 Thread Piotr Zarzycki
Alina,

The things which you are trying to do is, build your project which is
written in Flex with Royale swf compiler. I'm wondering whether IDE allows
you to do this. As I can see it tries to use  Fcsh in Royale SDK.

Try to as an exercise change Royale SDK to Apache Flex SDK and build your
project. What was the SDK version originally which was used to build that
application ?

Thanks, Piotr


2018-02-20 11:38 GMT+01:00 Alina Kazi :

> Thanks Piotr.
> Successfully followed all the steps except :
> Maybe you will have to also download Apache Flex SDK with Adobe AIR and
> setup environment variables:
>
> FLEX_HOME=path to the flexsdk folder
> AIR_HOME=path to the flexsdk folder
>
>
> Error occurred:
>
> Compiling SHMALIB
> : Sending to mxmlc: mxmlc -load-config+=obj/SHMALIBConfig.xml
> -services=src/services-config.xml -locale=en_US -debug=true -o
> bin-debug/SHMALib.swf
> : Error: Could not find or load main class flex2.tools.Fcsh
> : Caused by: java.lang.NoClassDefFoundError: flex2/tools/Tool
>
> I will download Apache Flex SDK with Adobe AIR and set variables , then I
> will tell you about further progress.
>
> SWF output file is Attached.
> Thanks,
> Alina
> -Original Message-
> From: piotrz [mailto:pio...@apache.org]
> Sent: Tuesday, February 20, 2018 2:05 PM
> To: users@royale.apache.org
> Subject: RE: Substitutes in Apache Royale
>
> Hi Alina,
>
> Here I am! :) Everything what you need to setup is under right click on the
> project -> Settings.
>
> 1) Setup Library. Right click on the project and choose Settings. In the
> section Libraries choose folder libs. My screenshot:
>
> <http://apache-royale-users.20374.n8.nabble.com/file/t1/library_setup.png>
>
> 2) If you need any additional compiler options go to the Build options and
> specify them in the "Additional compiler options". I see that you are using
> service-config.xml - In my screenshot is an example how did I show compiler
> where that file is.
> Royale JS compiler version probably won't understand -service, maybe swf
> understand.
>
> <http://apache-royale-users.20374.n8.nabble.com/file/t1/
> additional_compiler_
> config.png>
>
> 3) I see among your errors that you are missing playerglobal.swc. Because
> you are using js, swf version of Royale you need to download additional
> dependencies. To me it is enough if you download playerglobal.swc 11.0 [1]
> and place it to frameworks\libs\player\11.0\playerglobal.swc - name should
> be as you see here.
> Maybe you will have to also download Apache Flex SDK with Adobe AIR and
> setup environment variables:
>
> FLEX_HOME=path to the flexsdk folder
> AIR_HOME=path to the flexsdk folder
>
> 4) Building
> Alex is asking you to build your project using SWF compiler - In order to
> do
> that choose "Project" -> "Build Project" - it will use SWF compiler
> Build to JS only "Project" -> "Build as JavaScript"
>
> [1] https://goo.gl/AQhG21
>
> Thanks,
> Piotr
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



-- 

Piotr Zarzycki

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


RE: Substitutes in Apache Royale

2018-02-20 Thread Alina Kazi
Thanks Piotr.
Successfully followed all the steps except :
Maybe you will have to also download Apache Flex SDK with Adobe AIR and
setup environment variables:

FLEX_HOME=path to the flexsdk folder
AIR_HOME=path to the flexsdk folder


Error occurred:

Compiling SHMALIB
: Sending to mxmlc: mxmlc -load-config+=obj/SHMALIBConfig.xml
-services=src/services-config.xml -locale=en_US -debug=true -o
bin-debug/SHMALib.swf
: Error: Could not find or load main class flex2.tools.Fcsh
: Caused by: java.lang.NoClassDefFoundError: flex2/tools/Tool

I will download Apache Flex SDK with Adobe AIR and set variables , then I
will tell you about further progress.
 
SWF output file is Attached.
Thanks,
Alina
-Original Message-
From: piotrz [mailto:pio...@apache.org] 
Sent: Tuesday, February 20, 2018 2:05 PM
To: users@royale.apache.org
Subject: RE: Substitutes in Apache Royale

Hi Alina,

Here I am! :) Everything what you need to setup is under right click on the
project -> Settings.

1) Setup Library. Right click on the project and choose Settings. In the
section Libraries choose folder libs. My screenshot:

<http://apache-royale-users.20374.n8.nabble.com/file/t1/library_setup.png> 

2) If you need any additional compiler options go to the Build options and
specify them in the "Additional compiler options". I see that you are using
service-config.xml - In my screenshot is an example how did I show compiler
where that file is. 
Royale JS compiler version probably won't understand -service, maybe swf
understand.

<http://apache-royale-users.20374.n8.nabble.com/file/t1/additional_compiler_
config.png> 

3) I see among your errors that you are missing playerglobal.swc. Because
you are using js, swf version of Royale you need to download additional
dependencies. To me it is enough if you download playerglobal.swc 11.0 [1]
and place it to frameworks\libs\player\11.0\playerglobal.swc - name should
be as you see here.
Maybe you will have to also download Apache Flex SDK with Adobe AIR and
setup environment variables:

FLEX_HOME=path to the flexsdk folder
AIR_HOME=path to the flexsdk folder

4) Building
Alex is asking you to build your project using SWF compiler - In order to do
that choose "Project" -> "Build Project" - it will use SWF compiler
Build to JS only "Project" -> "Build as JavaScript"

[1] https://goo.gl/AQhG21

Thanks,
Piotr




--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


SHMALib.swf
Description: application/shockwave-flash


RE: Substitutes in Apache Royale

2018-02-20 Thread piotrz
Hi Alina,

Here I am! :) Everything what you need to setup is under right click on the
project -> Settings.

1) Setup Library. Right click on the project and choose Settings. In the
section Libraries choose folder libs. My screenshot:

 

2) If you need any additional compiler options go to the Build options and
specify them in the "Additional compiler options". I see that you are using
service-config.xml - In my screenshot is an example how did I show compiler
where that file is. 
Royale JS compiler version probably won't understand -service, maybe swf
understand.


 

3) I see among your errors that you are missing playerglobal.swc. Because
you are using js, swf version of Royale you need to download additional
dependencies. To me it is enough if you download playerglobal.swc 11.0 [1]
and place it to frameworks\libs\player\11.0\playerglobal.swc - name should
be as you see here.
Maybe you will have to also download Apache Flex SDK with Adobe AIR and
setup environment variables:

FLEX_HOME=path to the flexsdk folder
AIR_HOME=path to the flexsdk folder

4) Building
Alex is asking you to build your project using SWF compiler - In order to do
that choose "Project" -> "Build Project" - it will use SWF compiler
Build to JS only "Project" -> "Build as JavaScript"

[1] https://goo.gl/AQhG21

Thanks,
Piotr




--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: Substitutes in Apache Royale

2018-02-19 Thread Alex Harui
Sorry, just realized I referenced the JS compiler.  Please try using bin/compc 
and bin/mxmlc.  You won't need the –targets parameter, just the load-config 
option.

HTH,
-Alex

From: Alex Harui mailto:aha...@adobe.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 11:14 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

I think you will want to use the compiler option:
   -load-config="path to a Flex SDK flex-config.xml"
and also use
  –compiler.targets=SWF

HTH,
-Alex


From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Our Flex Application(Main Project) is dependent on Flex Library Project , I 
tookoriginal code (Library Project) without porting it, Compiling it using 
Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or 
apache-royale-0.9.0-bin-js-swf)
[cid:image001.png@01D3AA3A.7CAB69F0]

Moonshine IDE (1.9.0) Console :
Loading configuration: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml
:
: C:\Users\aleena\Documents\SHMALIB\defaults Error: unable to open 
'C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\frameworks\royale-config.xml'.
: defaults (line: -1)
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(35): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\mx-manifest.xml'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 35)
:
:   
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\player\11.0\playerglobal.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\rpc.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\osmf.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\spark.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\apache.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\flatspark.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\framework.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\spark_dmv.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bi

Re: Substitutes in Apache Royale

2018-02-19 Thread Alex Harui
Hi Alina,

Piotr might be better at helping you use Moonshine.  The IDEs sort of expect 
that the libraries/SWCs that your code needs is in the same folder as the 
compiler.  That's why it might be easier to work from the command line.

I remembered this morning that the Royale SWF Compiler doesn't have embedded 
font support.  However the goal isn't so much to make a runnable SWF but to 
have the compilation and linking complete so we can determine the full set of 
Flex APIs used in your app.

If your code has two projects, then we will want you to compile both projects 
with the Royale compiler and get two API reports.  The Library project would be 
compiled with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

I think you will want to use the compiler option:
   -load-config="path to a Flex SDK flex-config.xml"
and also use
  –compiler.targets=SWF

HTH,
-Alex


From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 10:10 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Our Flex Application(Main Project) is dependent on Flex Library Project , I 
tookoriginal code (Library Project) without porting it, Compiling it using 
Royale Compiler's SWF compiler (apache-royale-0.9.1-bin-js-swf or 
apache-royale-0.9.0-bin-js-swf)
[cid:image001.png@01D3AA3A.7CAB69F0]

Moonshine IDE (1.9.0) Console :
Loading configuration: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml
:
: C:\Users\aleena\Documents\SHMALIB\defaults Error: unable to open 
'C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\frameworks\royale-config.xml'.
: defaults (line: -1)
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(35): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\mx-manifest.xml'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 35)
:
:   
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\player\11.0\playerglobal.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\rpc.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\osmf.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\spark.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\apache.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\flatspark.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\framework.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\spark_dmv.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\sparkskins.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\libs\textLayout.swc'.
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 61)
:
: 
:
:
: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(61): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\framewor

RE: Substitutes in Apache Royale

2018-02-19 Thread Alina Kazi
 

: 

: 

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml(64): col: 0 Error: 
unable to open 
'D:\apache-royale-0.9.1-bin-js-swf\royale-asjs\frameworks\locale\en_US'.

: C:\Users\aleena\Documents\SHMALIB\obj\SHMALIBConfig.xml (line: 64)

: 

: 

 

Regards,

Alina

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Monday, February 19, 2018 12:35 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

What I'm asking is that you take your original code without porting it at all 
and run the Royale Compiler's SWF compiler.  It should be able to produce the 
same SWF you are deploying now.  It might catch errors that the Flex MXMLC 
compiler does not catch.  We need a successful SWF output so we know the 
compiler visited all APIs.  Once you can get a SWF out, then later I will 
provide you with an updated Royale SWF compiler that will also output an API 
usage report.

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Sunday, February 18, 2018 at 10:37 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

 

Sure, 

I’m compiling the code with the royale compiler. Porting basic components that 
are available in Royale.

 

Thanks

Alina

 

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Monday, February 19, 2018 11:16 AM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

While I work on the compiler API report feature, you could start now trying to 
get your code to compile with the royale compiler from the command line.  I 
think you can run the bin/mxmlc from the Royale releases with the same options 
you use with Flex MXMLC.

 

Give it a try and let us know.

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Sunday, February 18, 2018 at 8:29 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

 

I’ll be waiting for your response.

 

Thanks,

Alina

 

 

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Friday, February 16, 2018 2:02 AM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

I can't guarantee that you will be in production in six months, but I believe 
we can help you get to the point where every screen shows up and fills with 
data and we are fixing bugs in corner cases.   We might also be chasing down 
memory leaks and things like that.My strategy for lots of things is to do 
the big things first and polish it later.  For example, I recently pushed some 
basic Virtual Item Renderer support for Royale, but I'm pretty sure it will 
have bugs in corner cases, like deleting things when scrolled to the bottom.  
But most apps start at the top and it will get you going and we'll fix those 
corner cases later.

 

I want to finish up some infrastructural things in Royale over the next couple 
of weeks, then I will adjust the compiler to generate an API report.  Once we 
see what that looks like, I  should be able to help take the sample code you 
provided and make it work in Royale.  So maybe in a month or so, you'll see 
more activity around your code.  Right now I need to clean up a few things so 
we can be more efficient working with you.

 

You won't need an IDE to generate the API report.  If you know what compiler 
settings you are using for your Flex app, you can just run a Royale compiler 
from the command-line with the same arguments.  I believe that we are likely to 
make compiling your Flex app with the Royale compiler one of the steps in 
migrating. The Royale compiler will catch some syntax issues that the Flex 
compiler does not.

 

More later,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Thursday, February 15, 2018 at 2:13 AM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

Thank you so much. You gave me hope that I can achieve my target on time and at 
least I am working in right direction.

At most places I'm using getItemAt(0) to access the element in ArrayCollection.

At some places myArrayCollection[0].propertyname  to access it

 

If you will modify the Royale compiler, I will definitely try compiling my Flex 
app with the Royale compiler and generate a report of APIs used.

Currently I am using Visual Studio Code and apache royale 0.9.0 release is 
installed.I will need your guidance which IDE and apache royale release should 
I use to generate that report.

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Thursday, February 15, 2018 1:40 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Other than ArrayCollection, that looks right.  There will be sorting classes 
eventually.

 

I think there are two buckets of things that you are going to need:

 

Things we haven't written ye

Re: Substitutes in Apache Royale

2018-02-19 Thread Alex Harui
I'm sure many people would be happier if there were fewer lines of code to be 
touched.  IMO, this debate is about where it is reasonable to ask folks to 
change their code.  I am not afraid to ask someone to tweak their code because, 
if you have 100,000 lines of business logic, having to change 1000 lines should 
be much lower risk than porting all 100,000 lines to another JS framework.

Also, there are layers to backwards compatibility.  If we create an 
mx.collections.ArrayCollection for Royale, that might save you from touching 
some lines of code, but what if some other part of your code assumed that 
ArrayCollection subclasses ListCollectionView, and so on?  The number of class 
dependencies that we'd have to mimic could easily extend into reproducing about 
90% of the APIs in Flex.  Flex did not have good separation of concerns.  We 
are not staffed to produce classes for 90% of Flex, and I personally do not 
wish to work on something like that.

Also, there is a really good chance you will have to change some of your code 
around ArrayCollection.  There are no weak references for event listeners in 
Royale, so if your code tosses out an ArrayCollection and expects it to be 
garbage collected, the Royale version will not get GC'd.  If Royale creates an 
ArrayCollection class that wraps an IList and you want to get rid of it, you 
will probably have to call a release() API or something like that.

So, I do not think it is practical to have zero changes to logic that accessed 
Flex classes.  The business logic that I think can be left untouched really 
should not take Flex classes as inputs.  IMO, there is a network layer that 
should abstract how the data is retrieved.  Your business logic should try to 
work with Arrays.  You would probably find it works much faster against Array 
instead of ArrayCollection.  The ResultEvent and FaultEvent should be part of 
the network layer.  And the ResultEvent handler should call some entry point in 
the business logic.

This network layer would be replaced by Royale classes.  The output that gets 
passed into the business logic would be the same arrays and function entry 
points.  If it is impossible or impractical to write business logic without 
Flex classes, I'm interested in knowing that classes are a "must have" and then 
we can consider mimicking those classes.  I would hope that ArrayCollection 
isn't one of them, or if it is, then nobody cares whether it is a 
ListCollectionView or not.  I could imaging mimicking Sort/SortField, but 
really, you should pass in a sorted Array to the business logic.  And then the 
use of ArrayCollection is in the Network layer and you can make calls to an 
ArrayCollecition.release() if you need to.

I wish it could be easier, but I don't know of a practical way to make it so, 
at least without more folks writing framework code.  But it still should be 
much easier and safer than porting every line of code to a new framework.

My 2 cents,
-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Monday, February 19, 2018 at 2:10 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

So you basically would like to in your code avoid changes FaultEvent to Event 
everywhere ?  Yes ? That's the point in your case of having typed events for 
AMF handlers ?

2018-02-19 23:06 GMT+01:00 Carlos Rovira 
mailto:carlosrov...@apache.org>>:
All AMF/RemoteObject API worked with that. And our AMF/RemoteObject 
implementation in Royale does the same. In fact we already have FaultEvent and 
Result Event... why don't use it? seems to me more complicated to change it to 
no use that...
Our code relies heavily in AMF so all that classes are in lots of code to 
manage the use of the incoming data for the server and that data is what gives 
the result object from the backend to the client to manage it,

2018-02-19 23:00 GMT+01:00 Gabe Harbs 
mailto:harbs.li...@gmail.com>>:
I don’t use AMF, but I have no idea why you need specially typed events for 
that.

Maybe I’m missing something…

On Feb 19, 2018, at 11:38 PM, Carlos Rovira 
mailto:carlosrov...@apache.org>> wrote:

Hi Harbs

2018-02-15 10:53 GMT+01:00 Gabe Harbs 
mailto:harbs.li...@gmail.com>>:
None of the cases where I had ResultEvent and FaultEvent really made a lot of 
sense to keep that logic in Royale (events should generally be of type Event), 
so keeping those events would just mask places where code should probably be 
rewritten.


I think you was not using AMF. With RemoteObjects, I think Fault and Result 
events are a must or at least I can't imagine a way to handle the async 
behavior in other way. Maybe your scenario was different right?


--
Carlos Ro

Re: Substitutes in Apache Royale

2018-02-19 Thread Piotr Zarzycki
So you basically would like to in your code avoid changes FaultEvent to
Event everywhere ?  Yes ? That's the point in your case of having typed
events for AMF handlers ?

2018-02-19 23:06 GMT+01:00 Carlos Rovira :

> All AMF/RemoteObject API worked with that. And our AMF/RemoteObject
> implementation in Royale does the same. In fact we already have FaultEvent
> and Result Event... why don't use it? seems to me more complicated to
> change it to no use that...
> Our code relies heavily in AMF so all that classes are in lots of code to
> manage the use of the incoming data for the server and that data is what
> gives the result object from the backend to the client to manage it,
>
> 2018-02-19 23:00 GMT+01:00 Gabe Harbs :
>
>> I don’t use AMF, but I have no idea why you need specially typed events
>> for that.
>>
>> Maybe I’m missing something…
>>
>> On Feb 19, 2018, at 11:38 PM, Carlos Rovira 
>> wrote:
>>
>> Hi Harbs
>>
>> 2018-02-15 10:53 GMT+01:00 Gabe Harbs :
>>>
>>> None of the cases where I had ResultEvent and FaultEvent really made a
>>> lot of sense to keep that logic in Royale (events should generally be of
>>> type Event), so keeping those events would just mask places where code
>>> should probably be rewritten.
>>>
>>>
>> I think you was not using AMF. With RemoteObjects, I think Fault and
>> Result events are a must or at least I can't imagine a way to handle the
>> async behavior in other way. Maybe your scenario was different right?
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


-- 

Piotr Zarzycki

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


Re: Substitutes in Apache Royale

2018-02-19 Thread Carlos Rovira
All AMF/RemoteObject API worked with that. And our AMF/RemoteObject
implementation in Royale does the same. In fact we already have FaultEvent
and Result Event... why don't use it? seems to me more complicated to
change it to no use that...
Our code relies heavily in AMF so all that classes are in lots of code to
manage the use of the incoming data for the server and that data is what
gives the result object from the backend to the client to manage it,

2018-02-19 23:00 GMT+01:00 Gabe Harbs :

> I don’t use AMF, but I have no idea why you need specially typed events
> for that.
>
> Maybe I’m missing something…
>
> On Feb 19, 2018, at 11:38 PM, Carlos Rovira 
> wrote:
>
> Hi Harbs
>
> 2018-02-15 10:53 GMT+01:00 Gabe Harbs :
>>
>> None of the cases where I had ResultEvent and FaultEvent really made a
>> lot of sense to keep that logic in Royale (events should generally be of
>> type Event), so keeping those events would just mask places where code
>> should probably be rewritten.
>>
>>
> I think you was not using AMF. With RemoteObjects, I think Fault and
> Result events are a must or at least I can't imagine a way to handle the
> async behavior in other way. Maybe your scenario was different right?
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Substitutes in Apache Royale

2018-02-19 Thread Gabe Harbs
I don’t use AMF, but I have no idea why you need specially typed events for 
that.

Maybe I’m missing something…

> On Feb 19, 2018, at 11:38 PM, Carlos Rovira  wrote:
> 
> Hi Harbs
> 
> 2018-02-15 10:53 GMT+01:00 Gabe Harbs  >:
> None of the cases where I had ResultEvent and FaultEvent really made a lot of 
> sense to keep that logic in Royale (events should generally be of type 
> Event), so keeping those events would just mask places where code should 
> probably be rewritten.
> 
> 
> I think you was not using AMF. With RemoteObjects, I think Fault and Result 
> events are a must or at least I can't imagine a way to handle the async 
> behavior in other way. Maybe your scenario was different right?
> 
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira 
> 



Re: Substitutes in Apache Royale

2018-02-19 Thread Piotr Zarzycki
Wish I could have from .NET async, await <3 :)

2018-02-19 22:38 GMT+01:00 Carlos Rovira :

> Hi Harbs
>
> 2018-02-15 10:53 GMT+01:00 Gabe Harbs :
>>
>> None of the cases where I had ResultEvent and FaultEvent really made a
>> lot of sense to keep that logic in Royale (events should generally be of
>> type Event), so keeping those events would just mask places where code
>> should probably be rewritten.
>>
>>
> I think you was not using AMF. With RemoteObjects, I think Fault and
> Result events are a must or at least I can't imagine a way to handle the
> async behavior in other way. Maybe your scenario was different right?
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


-- 

Piotr Zarzycki

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


Re: Substitutes in Apache Royale

2018-02-19 Thread Carlos Rovira
Hi Alex,

2018-02-15 18:16 GMT+01:00 Alex Harui :

> For me, the factors are related to expectations and time.  If Royale has
> an mx.collections.ArrayCollection class, will you expect it to be 100%
> compatible and what will you think if it isn't?  Or has poor performance?
>

No, having similar API and similar behaviour will be sufficient. In the end
Royale is not Flex and all we do to get a better implementation while
maintain the way is used I think it will be ok for people trying to migrate.


>
> So if we say you must search and replace all instances of
> mx.collections.ArrayCollection with 
> org.apache.royale.collections.ArrayCollection,
> does that change your expectations about backward compatibility?  Is that
> too much to ask folks migrating apps?
>

What I have in mind is the most easy way to migrate. This implies *not
touch backend never*. In this way actual Flex apps can still work without
touch Flex and backend code (Java, Php .NET... whatever it could be).
People will only need to recreate the client part hosting it *side by side*
with the flex client.

Then when royale version will be enough robust they can remove flex version
and make royale one the official client.

that would be the *dream scenario"

so for that reason I think namespaces should be the same, but we could have
the new royale namespace for new projects, and keep the old one for
migration purposes. That would be only in classes very near to manage
server side communications and business logic


>
> And if that's ok, what about searching and replacing
> mx.collections.ArrayCollection with org.apache.royale.collections.
> ArrayList?
>

I think that will end with the need to change backend code. this will
defeat the purpose of a good migration since you need to separate backends
for actual flex and new royale clients. So not good :(


>
> We can add more stuff in subclasses of ArrayList to approach
> ArrayCollection, but without weak references in JavaScript, it will leak
> memory if you try to toss out the ArrayCollection but not its internal
> IList.  I would rather set expectations that things are different enough
> that you will have some work to do.
>

Alex, I'm not an expert in this kind of Arquitecture/implementation, but I
want to believe that with a concrete namespace and class names, functions
and properties,  some implementation could be done in js that can perform
and work flawlessly. don't you think?


>
> Then after we decide how to set expectations, there is the issue of
> finding the time to make components that more closely match Flex.  We have
> ArrayList.  Who will work on ArrayCollection and sorting?  The more folks
> can pitch in, the easier we can make migration, although it will never be
> line-for-line.
>
> If you want ResultEvent/FaultEvent, go create it.  It should be easy
> enough to do.  We don't have to all agree.
>
>
Hi, as I said before, I think I'm not the right person for this, I think I
can provide more value in my actual task. If not I'll go that path ;)
Hope someone could take it on his plate ;)

Thanks


> My 2 cents,
> -Alex
>
>
>
-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Substitutes in Apache Royale

2018-02-19 Thread Carlos Rovira
Hi Harbs

2018-02-15 10:53 GMT+01:00 Gabe Harbs :
>
> None of the cases where I had ResultEvent and FaultEvent really made a lot
> of sense to keep that logic in Royale (events should generally be of type
> Event), so keeping those events would just mask places where code should
> probably be rewritten.
>
>
I think you was not using AMF. With RemoteObjects, I think Fault and Result
events are a must or at least I can't imagine a way to handle the async
behavior in other way. Maybe your scenario was different right?


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Substitutes in Apache Royale

2018-02-18 Thread Alex Harui
In theory, yes, the Royale SWF Compiler can produce Flex SWFs.  The SWF
Compiler is based on the same code that Adobe uses in the AIR SDK to
compile AS to SWFs for AIR.  Apache Flex committers added MXML support.
We have a unit test that compiles the Apache Flex SDK SWCs.

Might there be bugs?  Sure.  But the Royale SWF compiler may find errors
in your code that the Flex MXMLC did not catch.

Trying to get Flash Builder to use a Royale SDK to compile a Flex SWF is a
bit tricky because Flash Builder assumes your Flex project wants to use
the SWCs in the chosen SDK folder, so you would have to change a lot of
complier arguments to get it to work.  But it should be more easy to swap
a compiler from the command-line or Ant.

The SWF compiler just takes source code and SWCs and produces a SWF.
Royale has its own set of SWCs.  Flex SWCs are a different set.  So
everything we write for Royale SWCs doesn't understand Flex, but that's
independent of the compiler.

HTH,
-Alex

On 2/18/18, 11:44 PM, "serkan@likyateknoloji.com"
 wrote:

>
>Then is it possible to change the sdk of FlexBuilder to Royale and use ?
>
>Quoting Piotr Zarzycki :
>
>> Alex,
>>
>> Are you saying that our SWF compiler is capable to compile Flex app?
>> Wow didn't know. I thought everything what is written in Royale doesn't
>> understand Flex. :)
>>
>> Piotr
>>
>> On Mon, Feb 19, 2018, 08:35 Alex Harui  wrote:
>>
>>> Hi Alina,
>>>
>>> What I'm asking is that you take your original code without porting it
>>>at
>>> all and run the Royale Compiler's SWF compiler.  It should be able to
>>> produce the same SWF you are deploying now.  It might catch errors
>>>that the
>>> Flex MXMLC compiler does not catch.  We need a successful SWF output
>>>so we
>>> know the compiler visited all APIs.  Once you can get a SWF out, then
>>>later
>>> I will provide you with an updated Royale SWF compiler that will also
>>> output an API usage report.
>>>
>>> Thanks,
>>> -Alex
>>>
>>> From: Alina Kazi 
>>> Reply-To: "users@royale.apache.org" 
>>> Date: Sunday, February 18, 2018 at 10:37 PM
>>>
>>> To: "users@royale.apache.org" 
>>> Subject: RE: Substitutes in Apache Royale
>>>
>>> Hi Alex,
>>>
>>>
>>>
>>> Sure,
>>>
>>> I’m compiling the code with the royale compiler. Porting basic
>>>components
>>> that are available in Royale.
>>>
>>>
>>>
>>> Thanks
>>>
>>> Alina
>>>
>>>
>>>
>>> *From:* Alex Harui [mailto:aha...@adobe.com ]
>>> *Sent:* Monday, February 19, 2018 11:16 AM
>>>
>>>
>>> *To:* users@royale.apache.org
>>> *Subject:* Re: Substitutes in Apache Royale
>>>
>>>
>>>
>>> Hi Alina,
>>>
>>>
>>>
>>> While I work on the compiler API report feature, you could start now
>>> trying to get your code to compile with the royale compiler from the
>>> command line.  I think you can run the bin/mxmlc from the Royale
>>>releases
>>> with the same options you use with Flex MXMLC.
>>>
>>>
>>>
>>> Give it a try and let us know.
>>>
>>> -Alex
>>>
>>>
>>>
>>> *From: *Alina Kazi 
>>> *Reply-To: *"users@royale.apache.org" 
>>> *Date: *Sunday, February 18, 2018 at 8:29 PM
>>> *To: *"users@royale.apache.org" 
>>> *Subject: *RE: Substitutes in Apache Royale
>>>
>>>
>>>
>>> Hi Alex,
>>>
>>>
>>>
>>> I’ll be waiting for your response.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Alina
>>>
>>>
>>>
>>>
>>>
>>> *From:* Alex Harui [mailto:aha...@adobe.com ]
>>> *Sent:* Friday, February 16, 2018 2:02 AM
>>> *To:* users@royale.apache.org
>>> *Subject:* Re: Substitutes in Apache Royale
>>>
>>>
>>>
>>> Hi Alina,
>>>
>>>
>>>
>>> I can't guarantee that you will be in production in six months, but I
>>> believe we can help you get to the point where every screen shows up
>>>and
>>> fills with data and we are fixing bugs in corner cases.   We might
>>>also be
>>> chasing down memory leaks and things like that.My strategy for
>>>lots of
>>> things is to do th

Re: Substitutes in Apache Royale

2018-02-18 Thread serkan . tas


Then is it possible to change the sdk of FlexBuilder to Royale and use ?

Quoting Piotr Zarzycki :


Alex,

Are you saying that our SWF compiler is capable to compile Flex app?
Wow didn't know. I thought everything what is written in Royale doesn't
understand Flex. :)

Piotr

On Mon, Feb 19, 2018, 08:35 Alex Harui  wrote:


Hi Alina,

What I'm asking is that you take your original code without porting it at
all and run the Royale Compiler's SWF compiler.  It should be able to
produce the same SWF you are deploying now.  It might catch errors that the
Flex MXMLC compiler does not catch.  We need a successful SWF output so we
know the compiler visited all APIs.  Once you can get a SWF out, then later
I will provide you with an updated Royale SWF compiler that will also
output an API usage report.

Thanks,
-Alex

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Sunday, February 18, 2018 at 10:37 PM

To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

Hi Alex,



Sure,

I’m compiling the code with the royale compiler. Porting basic components
that are available in Royale.



Thanks

Alina



*From:* Alex Harui [mailto:aha...@adobe.com ]
*Sent:* Monday, February 19, 2018 11:16 AM


*To:* users@royale.apache.org
*Subject:* Re: Substitutes in Apache Royale



Hi Alina,



While I work on the compiler API report feature, you could start now
trying to get your code to compile with the royale compiler from the
command line.  I think you can run the bin/mxmlc from the Royale releases
with the same options you use with Flex MXMLC.



Give it a try and let us know.

-Alex



*From: *Alina Kazi 
*Reply-To: *"users@royale.apache.org" 
*Date: *Sunday, February 18, 2018 at 8:29 PM
*To: *"users@royale.apache.org" 
*Subject: *RE: Substitutes in Apache Royale



Hi Alex,



I’ll be waiting for your response.



Thanks,

Alina





*From:* Alex Harui [mailto:aha...@adobe.com ]
*Sent:* Friday, February 16, 2018 2:02 AM
*To:* users@royale.apache.org
*Subject:* Re: Substitutes in Apache Royale



Hi Alina,



I can't guarantee that you will be in production in six months, but I
believe we can help you get to the point where every screen shows up and
fills with data and we are fixing bugs in corner cases.   We might also be
chasing down memory leaks and things like that.My strategy for lots of
things is to do the big things first and polish it later.  For example, I
recently pushed some basic Virtual Item Renderer support for Royale, but
I'm pretty sure it will have bugs in corner cases, like deleting things
when scrolled to the bottom.  But most apps start at the top and it will
get you going and we'll fix those corner cases later.



I want to finish up some infrastructural things in Royale over the next
couple of weeks, then I will adjust the compiler to generate an API
report.  Once we see what that looks like, I  should be able to help take
the sample code you provided and make it work in Royale.  So maybe in a
month or so, you'll see more activity around your code.  Right now I need
to clean up a few things so we can be more efficient working with you.



You won't need an IDE to generate the API report.  If you know what
compiler settings you are using for your Flex app, you can just run a
Royale compiler from the command-line with the same arguments.  I believe
that we are likely to make compiling your Flex app with the Royale compiler
one of the steps in migrating. The Royale compiler will catch some syntax
issues that the Flex compiler does not.



More later,

-Alex



*From: *Alina Kazi 
*Reply-To: *"users@royale.apache.org" 
*Date: *Thursday, February 15, 2018 at 2:13 AM
*To: *"users@royale.apache.org" 
*Subject: *RE: Substitutes in Apache Royale



Hi Alex,

Thank you so much. You gave me hope that I can achieve my target on time
and at least I am working in right direction.

At most places I'm using getItemAt(0) to access the element in
ArrayCollection.

At some places myArrayCollection[0].propertyname  to access it



If you will modify the Royale compiler, I will definitely try compiling my
Flex app with the Royale compiler and generate a report of APIs used.

Currently I am using Visual Studio Code and apache royale 0.9.0 release is
installed.I will need your guidance which IDE and apache royale release
should I use to generate that report.



Thanks,

Alina Kazi

*From:* Alex Harui [mailto:aha...@adobe.com ]
*Sent:* Thursday, February 15, 2018 1:40 PM
*To:* users@royale.apache.org
*Subject:* Re: Substitutes in Apache Royale



Hi Alina,



Other than ArrayCollection, that looks right.  There will be sorting
classes eventually.



I think there are two buckets of things that you are going to need:



Things we haven't written yet:

  - DividedBox/Container (mostly done)

 - Menu/MenuBar

 - VariableRowHeight

 - Editable DataGrids

 - Sorting?



Things we h

Re: Substitutes in Apache Royale

2018-02-18 Thread Piotr Zarzycki
Alex,

Are you saying that our SWF compiler is capable to compile Flex app?
Wow didn't know. I thought everything what is written in Royale doesn't
understand Flex. :)

Piotr

On Mon, Feb 19, 2018, 08:35 Alex Harui  wrote:

> Hi Alina,
>
> What I'm asking is that you take your original code without porting it at
> all and run the Royale Compiler's SWF compiler.  It should be able to
> produce the same SWF you are deploying now.  It might catch errors that the
> Flex MXMLC compiler does not catch.  We need a successful SWF output so we
> know the compiler visited all APIs.  Once you can get a SWF out, then later
> I will provide you with an updated Royale SWF compiler that will also
> output an API usage report.
>
> Thanks,
> -Alex
>
> From: Alina Kazi 
> Reply-To: "users@royale.apache.org" 
> Date: Sunday, February 18, 2018 at 10:37 PM
>
> To: "users@royale.apache.org" 
> Subject: RE: Substitutes in Apache Royale
>
> Hi Alex,
>
>
>
> Sure,
>
> I’m compiling the code with the royale compiler. Porting basic components
> that are available in Royale.
>
>
>
> Thanks
>
> Alina
>
>
>
> *From:* Alex Harui [mailto:aha...@adobe.com ]
> *Sent:* Monday, February 19, 2018 11:16 AM
>
>
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Hi Alina,
>
>
>
> While I work on the compiler API report feature, you could start now
> trying to get your code to compile with the royale compiler from the
> command line.  I think you can run the bin/mxmlc from the Royale releases
> with the same options you use with Flex MXMLC.
>
>
>
> Give it a try and let us know.
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Sunday, February 18, 2018 at 8:29 PM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Substitutes in Apache Royale
>
>
>
> Hi Alex,
>
>
>
> I’ll be waiting for your response.
>
>
>
> Thanks,
>
> Alina
>
>
>
>
>
> *From:* Alex Harui [mailto:aha...@adobe.com ]
> *Sent:* Friday, February 16, 2018 2:02 AM
> *To:* users@royale.apache.org
> *Subject:* Re: Substitutes in Apache Royale
>
>
>
> Hi Alina,
>
>
>
> I can't guarantee that you will be in production in six months, but I
> believe we can help you get to the point where every screen shows up and
> fills with data and we are fixing bugs in corner cases.   We might also be
> chasing down memory leaks and things like that.My strategy for lots of
> things is to do the big things first and polish it later.  For example, I
> recently pushed some basic Virtual Item Renderer support for Royale, but
> I'm pretty sure it will have bugs in corner cases, like deleting things
> when scrolled to the bottom.  But most apps start at the top and it will
> get you going and we'll fix those corner cases later.
>
>
>
> I want to finish up some infrastructural things in Royale over the next
> couple of weeks, then I will adjust the compiler to generate an API
> report.  Once we see what that looks like, I  should be able to help take
> the sample code you provided and make it work in Royale.  So maybe in a
> month or so, you'll see more activity around your code.  Right now I need
> to clean up a few things so we can be more efficient working with you.
>
>
>
> You won't need an IDE to generate the API report.  If you know what
> compiler settings you are using for your Flex app, you can just run a
> Royale compiler from the command-line with the same arguments.  I believe
> that we are likely to make compiling your Flex app with the Royale compiler
> one of the steps in migrating. The Royale compiler will catch some syntax
> issues that the Flex compiler does not.
>
>
>
> More later,
>
> -Alex
>
>
>
> *From: *Alina Kazi 
> *Reply-To: *"users@royale.apache.org" 
> *Date: *Thursday, February 15, 2018 at 2:13 AM
> *To: *"users@royale.apache.org" 
> *Subject: *RE: Substitutes in Apache Royale
>
>
>
> Hi Alex,
>
> Thank you so much. You gave me hope that I can achieve my target on time
> and at least I am working in right direction.
>
> At most places I'm using getItemAt(0) to access the element in
> ArrayCollection.
>
> At some places myArrayCollection[0].propertyname  to access it
>
>
>
> If you will modify the Royale compiler, I will definitely try compiling my
> Flex app with the Royale compiler and generate a report of APIs used.
>
> Currently I am using Visual Studio Code and apache royale 0.9.0 release is
> installed.I will need yo

Re: Substitutes in Apache Royale

2018-02-18 Thread Alex Harui
Hi Alina,

What I'm asking is that you take your original code without porting it at all 
and run the Royale Compiler's SWF compiler.  It should be able to produce the 
same SWF you are deploying now.  It might catch errors that the Flex MXMLC 
compiler does not catch.  We need a successful SWF output so we know the 
compiler visited all APIs.  Once you can get a SWF out, then later I will 
provide you with an updated Royale SWF compiler that will also output an API 
usage report.

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Sunday, February 18, 2018 at 10:37 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,

Sure,
I’m compiling the code with the royale compiler. Porting basic components that 
are available in Royale.

Thanks
Alina

From: Alex Harui [mailto:aha...@adobe.com]
Sent: Monday, February 19, 2018 11:16 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

While I work on the compiler API report feature, you could start now trying to 
get your code to compile with the royale compiler from the command line.  I 
think you can run the bin/mxmlc from the Royale releases with the same options 
you use with Flex MXMLC.

Give it a try and let us know.
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Sunday, February 18, 2018 at 8:29 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,

I’ll be waiting for your response.

Thanks,
Alina


From: Alex Harui [mailto:aha...@adobe.com]
Sent: Friday, February 16, 2018 2:02 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

I can't guarantee that you will be in production in six months, but I believe 
we can help you get to the point where every screen shows up and fills with 
data and we are fixing bugs in corner cases.   We might also be chasing down 
memory leaks and things like that.My strategy for lots of things is to do 
the big things first and polish it later.  For example, I recently pushed some 
basic Virtual Item Renderer support for Royale, but I'm pretty sure it will 
have bugs in corner cases, like deleting things when scrolled to the bottom.  
But most apps start at the top and it will get you going and we'll fix those 
corner cases later.

I want to finish up some infrastructural things in Royale over the next couple 
of weeks, then I will adjust the compiler to generate an API report.  Once we 
see what that looks like, I  should be able to help take the sample code you 
provided and make it work in Royale.  So maybe in a month or so, you'll see 
more activity around your code.  Right now I need to clean up a few things so 
we can be more efficient working with you.

You won't need an IDE to generate the API report.  If you know what compiler 
settings you are using for your Flex app, you can just run a Royale compiler 
from the command-line with the same arguments.  I believe that we are likely to 
make compiling your Flex app with the Royale compiler one of the steps in 
migrating. The Royale compiler will catch some syntax issues that the Flex 
compiler does not.

More later,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Thursday, February 15, 2018 at 2:13 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Thank you so much. You gave me hope that I can achieve my target on time and at 
least I am working in right direction.
At most places I'm using getItemAt(0) to access the element in ArrayCollection.
At some places myArrayCollection[0].propertyname  to access it

If you will modify the Royale compiler, I will definitely try compiling my Flex 
app with the Royale compiler and generate a report of APIs used.
Currently I am using Visual Studio Code and apache royale 0.9.0 release is 
installed.I will need your guidance which IDE and apache royale release should 
I use to generate that report.

Thanks,
Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Thursday, February 15, 2018 1:40 PM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Other than ArrayCollection, that looks right.  There will 

RE: Substitutes in Apache Royale

2018-02-18 Thread Alina Kazi
Hi Alex,

 

Sure, 

I’m compiling the code with the royale compiler. Porting basic components that 
are available in Royale.

 

Thanks

Alina

 

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Monday, February 19, 2018 11:16 AM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

While I work on the compiler API report feature, you could start now trying to 
get your code to compile with the royale compiler from the command line.  I 
think you can run the bin/mxmlc from the Royale releases with the same options 
you use with Flex MXMLC.

 

Give it a try and let us know.

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Sunday, February 18, 2018 at 8:29 PM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

 

I’ll be waiting for your response.

 

Thanks,

Alina

 

 

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Friday, February 16, 2018 2:02 AM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

I can't guarantee that you will be in production in six months, but I believe 
we can help you get to the point where every screen shows up and fills with 
data and we are fixing bugs in corner cases.   We might also be chasing down 
memory leaks and things like that.My strategy for lots of things is to do 
the big things first and polish it later.  For example, I recently pushed some 
basic Virtual Item Renderer support for Royale, but I'm pretty sure it will 
have bugs in corner cases, like deleting things when scrolled to the bottom.  
But most apps start at the top and it will get you going and we'll fix those 
corner cases later.

 

I want to finish up some infrastructural things in Royale over the next couple 
of weeks, then I will adjust the compiler to generate an API report.  Once we 
see what that looks like, I  should be able to help take the sample code you 
provided and make it work in Royale.  So maybe in a month or so, you'll see 
more activity around your code.  Right now I need to clean up a few things so 
we can be more efficient working with you.

 

You won't need an IDE to generate the API report.  If you know what compiler 
settings you are using for your Flex app, you can just run a Royale compiler 
from the command-line with the same arguments.  I believe that we are likely to 
make compiling your Flex app with the Royale compiler one of the steps in 
migrating. The Royale compiler will catch some syntax issues that the Flex 
compiler does not.

 

More later,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Thursday, February 15, 2018 at 2:13 AM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

Thank you so much. You gave me hope that I can achieve my target on time and at 
least I am working in right direction.

At most places I'm using getItemAt(0) to access the element in ArrayCollection.

At some places myArrayCollection[0].propertyname  to access it

 

If you will modify the Royale compiler, I will definitely try compiling my Flex 
app with the Royale compiler and generate a report of APIs used.

Currently I am using Visual Studio Code and apache royale 0.9.0 release is 
installed.I will need your guidance which IDE and apache royale release should 
I use to generate that report.

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Thursday, February 15, 2018 1:40 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Other than ArrayCollection, that looks right.  There will be sorting classes 
eventually.

 

I think there are two buckets of things that you are going to need:

 

Things we haven't written yet:

  - DividedBox/Container (mostly done)

 - Menu/MenuBar

 - VariableRowHeight

 - Editable DataGrids

 - Sorting?

 

Things we have written, but aren't packaged in a way that makes migration easy:

 - TitleWindow

 - Canvas

 - ArrayCollection

 

For ArrayCollection, do you use array indexing (myArrayCollection[0]) or do you 
access it as getItemAt(0)?

 

You have so many files to port, it is tempting to create a Spark-ish and MX-ish 
component set.  They wouldn't be fully backward compatible but would try to 
implement the most commonly used APIs.  I'm wondering what percentage of Flex 
APIs you actually used in your app.  If I modify the Royale compiler, could you 
try compiling your Flex app with the Royale compiler and generate a report of 
APIs used?

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Wednesday, February 14, 2018 at 11:06 PM
To: "users@royale.apache.org" 
Subject: Substitutes in Apache Royale

 

Hi,

 

I have replaced few imports in Apache Royale Project after comparison in terms 
of functionality.

As you all are more familiar to Flex

Re: Substitutes in Apache Royale

2018-02-18 Thread Alex Harui
Hi Alina,

While I work on the compiler API report feature, you could start now trying to 
get your code to compile with the royale compiler from the command line.  I 
think you can run the bin/mxmlc from the Royale releases with the same options 
you use with Flex MXMLC.

Give it a try and let us know.
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Sunday, February 18, 2018 at 8:29 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,

I’ll be waiting for your response.

Thanks,
Alina


From: Alex Harui [mailto:aha...@adobe.com]
Sent: Friday, February 16, 2018 2:02 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

I can't guarantee that you will be in production in six months, but I believe 
we can help you get to the point where every screen shows up and fills with 
data and we are fixing bugs in corner cases.   We might also be chasing down 
memory leaks and things like that.My strategy for lots of things is to do 
the big things first and polish it later.  For example, I recently pushed some 
basic Virtual Item Renderer support for Royale, but I'm pretty sure it will 
have bugs in corner cases, like deleting things when scrolled to the bottom.  
But most apps start at the top and it will get you going and we'll fix those 
corner cases later.

I want to finish up some infrastructural things in Royale over the next couple 
of weeks, then I will adjust the compiler to generate an API report.  Once we 
see what that looks like, I  should be able to help take the sample code you 
provided and make it work in Royale.  So maybe in a month or so, you'll see 
more activity around your code.  Right now I need to clean up a few things so 
we can be more efficient working with you.

You won't need an IDE to generate the API report.  If you know what compiler 
settings you are using for your Flex app, you can just run a Royale compiler 
from the command-line with the same arguments.  I believe that we are likely to 
make compiling your Flex app with the Royale compiler one of the steps in 
migrating. The Royale compiler will catch some syntax issues that the Flex 
compiler does not.

More later,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Thursday, February 15, 2018 at 2:13 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Thank you so much. You gave me hope that I can achieve my target on time and at 
least I am working in right direction.
At most places I'm using getItemAt(0) to access the element in ArrayCollection.
At some places myArrayCollection[0].propertyname  to access it

If you will modify the Royale compiler, I will definitely try compiling my Flex 
app with the Royale compiler and generate a report of APIs used.
Currently I am using Visual Studio Code and apache royale 0.9.0 release is 
installed.I will need your guidance which IDE and apache royale release should 
I use to generate that report.

Thanks,
Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Thursday, February 15, 2018 1:40 PM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Other than ArrayCollection, that looks right.  There will be sorting classes 
eventually.

I think there are two buckets of things that you are going to need:

Things we haven't written yet:
  - DividedBox/Container (mostly done)
 - Menu/MenuBar
 - VariableRowHeight
 - Editable DataGrids
 - Sorting?

Things we have written, but aren't packaged in a way that makes migration easy:
 - TitleWindow
 - Canvas
 - ArrayCollection

For ArrayCollection, do you use array indexing (myArrayCollection[0]) or do you 
access it as getItemAt(0)?

You have so many files to port, it is tempting to create a Spark-ish and MX-ish 
component set.  They wouldn't be fully backward compatible but would try to 
implement the most commonly used APIs.  I'm wondering what percentage of Flex 
APIs you actually used in your app.  If I modify the Royale compiler, could you 
try compiling your Flex app with the Royale compiler and generate a report of 
APIs used?

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Wednesday, February 14, 2018 at 11:06 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 

RE: Substitutes in Apache Royale

2018-02-18 Thread Alina Kazi
Hi Alex,

 

I’ll be waiting for your response.

 

Thanks,

Alina

 

 

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Friday, February 16, 2018 2:02 AM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

I can't guarantee that you will be in production in six months, but I believe 
we can help you get to the point where every screen shows up and fills with 
data and we are fixing bugs in corner cases.   We might also be chasing down 
memory leaks and things like that.My strategy for lots of things is to do 
the big things first and polish it later.  For example, I recently pushed some 
basic Virtual Item Renderer support for Royale, but I'm pretty sure it will 
have bugs in corner cases, like deleting things when scrolled to the bottom.  
But most apps start at the top and it will get you going and we'll fix those 
corner cases later.

 

I want to finish up some infrastructural things in Royale over the next couple 
of weeks, then I will adjust the compiler to generate an API report.  Once we 
see what that looks like, I  should be able to help take the sample code you 
provided and make it work in Royale.  So maybe in a month or so, you'll see 
more activity around your code.  Right now I need to clean up a few things so 
we can be more efficient working with you.

 

You won't need an IDE to generate the API report.  If you know what compiler 
settings you are using for your Flex app, you can just run a Royale compiler 
from the command-line with the same arguments.  I believe that we are likely to 
make compiling your Flex app with the Royale compiler one of the steps in 
migrating. The Royale compiler will catch some syntax issues that the Flex 
compiler does not.

 

More later,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Thursday, February 15, 2018 at 2:13 AM
To: "users@royale.apache.org" 
Subject: RE: Substitutes in Apache Royale

 

Hi Alex,

Thank you so much. You gave me hope that I can achieve my target on time and at 
least I am working in right direction.

At most places I'm using getItemAt(0) to access the element in ArrayCollection.

At some places myArrayCollection[0].propertyname  to access it

 

If you will modify the Royale compiler, I will definitely try compiling my Flex 
app with the Royale compiler and generate a report of APIs used.

Currently I am using Visual Studio Code and apache royale 0.9.0 release is 
installed.I will need your guidance which IDE and apache royale release should 
I use to generate that report.

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Thursday, February 15, 2018 1:40 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Other than ArrayCollection, that looks right.  There will be sorting classes 
eventually.

 

I think there are two buckets of things that you are going to need:

 

Things we haven't written yet:

  - DividedBox/Container (mostly done)

 - Menu/MenuBar

 - VariableRowHeight

 - Editable DataGrids

 - Sorting?

 

Things we have written, but aren't packaged in a way that makes migration easy:

 - TitleWindow

 - Canvas

 - ArrayCollection

 

For ArrayCollection, do you use array indexing (myArrayCollection[0]) or do you 
access it as getItemAt(0)?

 

You have so many files to port, it is tempting to create a Spark-ish and MX-ish 
component set.  They wouldn't be fully backward compatible but would try to 
implement the most commonly used APIs.  I'm wondering what percentage of Flex 
APIs you actually used in your app.  If I modify the Royale compiler, could you 
try compiling your Flex app with the Royale compiler and generate a report of 
APIs used?

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Wednesday, February 14, 2018 at 11:06 PM
To: "users@royale.apache.org" 
Subject: Substitutes in Apache Royale

 

Hi,

 

I have replaced few imports in Apache Royale Project after comparison in terms 
of functionality.

As you all are more familiar to Flex and Apache Royale. 

Are these correct substitutes?

import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;

import org.apache.royale.events.CloseEvent; // instead of import 
mx.events.CloseEvent;

import org.apache.royale.net.events.FaultEvent; // instead of import 
mx.rpc.events.FaultEvent;

import org.apache.royale.net.events.ResultEvent; //instead of import 
mx.rpc.events.ResultEvent;

import mx.collections.ArrayCollection; //very similar to 
org.apache.royale.collections.TreeData

import mx.collections.Sort; // No Alternate found

import mx.collections.SortField;// No Alternate found

import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or .IPopUpHost

import org.apache.royale.utils.StringUtil;// instead of import 
mx.utils.StringUtil;

 

Reference: 
http://apacheflexbuild.cloudapp.net:808

Re: Substitutes in Apache Royale

2018-02-15 Thread Alex Harui
Hi Alina,

I can't guarantee that you will be in production in six months, but I believe 
we can help you get to the point where every screen shows up and fills with 
data and we are fixing bugs in corner cases.   We might also be chasing down 
memory leaks and things like that.My strategy for lots of things is to do 
the big things first and polish it later.  For example, I recently pushed some 
basic Virtual Item Renderer support for Royale, but I'm pretty sure it will 
have bugs in corner cases, like deleting things when scrolled to the bottom.  
But most apps start at the top and it will get you going and we'll fix those 
corner cases later.

I want to finish up some infrastructural things in Royale over the next couple 
of weeks, then I will adjust the compiler to generate an API report.  Once we 
see what that looks like, I  should be able to help take the sample code you 
provided and make it work in Royale.  So maybe in a month or so, you'll see 
more activity around your code.  Right now I need to clean up a few things so 
we can be more efficient working with you.

You won't need an IDE to generate the API report.  If you know what compiler 
settings you are using for your Flex app, you can just run a Royale compiler 
from the command-line with the same arguments.  I believe that we are likely to 
make compiling your Flex app with the Royale compiler one of the steps in 
migrating. The Royale compiler will catch some syntax issues that the Flex 
compiler does not.

More later,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Thursday, February 15, 2018 at 2:13 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: Substitutes in Apache Royale

Hi Alex,
Thank you so much. You gave me hope that I can achieve my target on time and at 
least I am working in right direction.
At most places I'm using getItemAt(0) to access the element in ArrayCollection.
At some places myArrayCollection[0].propertyname  to access it

If you will modify the Royale compiler, I will definitely try compiling my Flex 
app with the Royale compiler and generate a report of APIs used.
Currently I am using Visual Studio Code and apache royale 0.9.0 release is 
installed.I will need your guidance which IDE and apache royale release should 
I use to generate that report.

Thanks,
Alina Kazi
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Thursday, February 15, 2018 1:40 PM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: Substitutes in Apache Royale

Hi Alina,

Other than ArrayCollection, that looks right.  There will be sorting classes 
eventually.

I think there are two buckets of things that you are going to need:

Things we haven't written yet:
  - DividedBox/Container (mostly done)
 - Menu/MenuBar
 - VariableRowHeight
 - Editable DataGrids
 - Sorting?

Things we have written, but aren't packaged in a way that makes migration easy:
 - TitleWindow
 - Canvas
 - ArrayCollection

For ArrayCollection, do you use array indexing (myArrayCollection[0]) or do you 
access it as getItemAt(0)?

You have so many files to port, it is tempting to create a Spark-ish and MX-ish 
component set.  They wouldn't be fully backward compatible but would try to 
implement the most commonly used APIs.  I'm wondering what percentage of Flex 
APIs you actually used in your app.  If I modify the Royale compiler, could you 
try compiling your Flex app with the Royale compiler and generate a report of 
APIs used?

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Wednesday, February 14, 2018 at 11:06 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Substitutes in Apache Royale

Hi,

I have replaced few imports in Apache Royale Project after comparison in terms 
of functionality.
As you all are more familiar to Flex and Apache Royale.
Are these correct substitutes?
import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;
import org.apache.royale.events.CloseEvent; // instead of import 
mx.events.CloseEvent;
import org.apache.royale.net.events.FaultEvent; // instead of import 
mx.rpc.events.FaultEvent;
import org.apache.royale.net.events.ResultEvent; //instead of import 
mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection; //very similar to 
org.apache.royale.collections.TreeData
import mx.collections.Sort; // No Alternate found
import mx.collections.SortField;// No Alternate found
import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or .IPopUpHost
import org.apache.royale.utils.Strin

Re: Substitutes in Apache Royale

2018-02-15 Thread Alex Harui
For me, the factors are related to expectations and time.  If Royale has an 
mx.collections.ArrayCollection class, will you expect it to be 100% compatible 
and what will you think if it isn't?  Or has poor performance?

So if we say you must search and replace all instances of 
mx.collections.ArrayCollection with 
org.apache.royale.collections.ArrayCollection, does that change your 
expectations about backward compatibility?  Is that too much to ask folks 
migrating apps?

And if that's ok, what about searching and replacing 
mx.collections.ArrayCollection with org.apache.royale.collections.ArrayList?

We can add more stuff in subclasses of ArrayList to approach ArrayCollection, 
but without weak references in JavaScript, it will leak memory if you try to 
toss out the ArrayCollection but not its internal IList.  I would rather set 
expectations that things are different enough that you will have some work to 
do.

Then after we decide how to set expectations, there is the issue of finding the 
time to make components that more closely match Flex.  We have ArrayList.  Who 
will work on ArrayCollection and sorting?  The more folks can pitch in, the 
easier we can make migration, although it will never be line-for-line.

If you want ResultEvent/FaultEvent, go create it.  It should be easy enough to 
do.  We don't have to all agree.

My 2 cents,
-Alex


From: mailto:carlos.rov...@gmail.com>> on behalf of 
Carlos Rovira mailto:carlosrov...@apache.org>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Thursday, February 15, 2018 at 1:38 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: Substitutes in Apache Royale

Hi Piotr,

I considered that scenario, but the fact that this classes (ArrayCollection, 
ResultEvent and Fault Event), are so close to Flex and to what all people out 
there like us did to build their Apps, ends make me think that this is our task 
to make this as easy as possible. We are not talking here of a flex third party 
component or class that some people was using. We are talking of some core 
framework classes that are present in almost all Flex apps.

So if we want to ease migration of flex to royale, this is a huge point to 
consider since it will be lots of DTOs (or VOs or value objects or POJOs) out 
there that can be copied without any modification, and the same for Controllers 
that works with HTTPService, RemoteObject or WebService classes...as well lots 
os BusinessDelegates, and other classes that are close to the server 
communication part of the Royale client code.

If we don't create counterparts those means lots of changes in code bases and 
not only recreate UI-UX with mxml and new UI sets...

So I think this is important not for concrete users, but for Royale as a 
project that has an important task in make as easy as we can ports from Flex to 
Royale.




2018-02-15 10:30 GMT+01:00 Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>:
Carlos,

I believe it is the matter of trying. Harbs did try and replace his 
ArrayCollection without the problem with ArrayList. I did try it with some demo 
apps and it went well. If you start your migration and face a wall - it doesn't 
have to end up with solution where you adding some things to Royale. You can 
always implement ArrayCollection in your application and use it.

My thought is that not everything need to be part of Royale.  :)

Thanks, Piotr

2018-02-15 10:25 GMT+01:00 Carlos Rovira 
mailto:carlosrov...@apache.org>>:
Hi Harbs,

mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are very 
close to the business logic we don't want to migrate or try to left untouched.
I think that three classes should have Royale counterparts to reduce migration 
pain.

I'm talking more from a user role or someone that wants in the end make the 
same Alina is doing with our Avant2 app at Codeoscopic

thanks


2018-02-15 10:15 GMT+01:00 Gabe Harbs 
mailto:harbs.li...@gmail.com>>:
CloseEvent,FaultEvent and ResultEvent are not really needed in Royale. Royale 
takes a much more “laid back” approach to Events and only creates new Event 
classes when they are absolutely needed.

99% if the uses of ArrayCollection can be replaced with ArrayList which exists 
in Royale.

Sort and SortField do not exist, but I’ve found that I was able to replace my 
uses with a simple Array sort.

For Alert, you can either use Alert or SimpleAlert. Another option is an MDL 
Dialog.

StringUtil is a direct port from mx. The functions in StringUtil will gradually 
be deprecated in favor of package level functions.

Make sure you really need PopUpManager. Like was already mentioned, you can 
probably just use addElement().

HTH,
Harbs

On Feb 15, 2018, at 9:06 AM, Alina Kazi 
mailto:alina.k...@d-bz.com>> wrote:

Hi,

I 

RE: Substitutes in Apache Royale

2018-02-15 Thread Alina Kazi
Thank you both(Piotr and Harbs)

Regards,

Alina

 

From: Gabe Harbs [mailto:harbs.li...@gmail.com] 
Sent: Thursday, February 15, 2018 2:53 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Your milage may vary, but I actually found that my code improved when I was 
forced to convert ArrayCollection to ArrayList. Some cases did not really need 
collections at all, and I did not really use ArrayCollection features anywhere. 
Being forced to use getItem() rather than indexes made the code clearer. The 
only issue I had was getting rid of uses of refresh() (which caused me to 
optimize some things) and replacing Sort with native Array sorting (which is 
also not a bad thing).

 

None of the cases where I had ResultEvent and FaultEvent really made a lot of 
sense to keep that logic in Royale (events should generally be of type Event), 
so keeping those events would just mask places where code should probably be 
rewritten.

 

What I did while migrating my code was create dummy classes for these events 
(with constants). This allowed me to analyze where they where being used while 
eliminating compiler errors.

 

My $0.02,

Harbs

 

On Feb 15, 2018, at 11:38 AM, Carlos Rovira  wrote:

 

Hi Piotr,

 

I considered that scenario, but the fact that this classes (ArrayCollection, 
ResultEvent and Fault Event), are so close to Flex and to what all people out 
there like us did to build their Apps, ends make me think that this is our task 
to make this as easy as possible. We are not talking here of a flex third party 
component or class that some people was using. We are talking of some core 
framework classes that are present in almost all Flex apps.

 

So if we want to ease migration of flex to royale, this is a huge point to 
consider since it will be lots of DTOs (or VOs or value objects or POJOs) out 
there that can be copied without any modification, and the same for Controllers 
that works with HTTPService, RemoteObject or WebService classes...as well lots 
os BusinessDelegates, and other classes that are close to the server 
communication part of the Royale client code.

 

If we don't create counterparts those means lots of changes in code bases and 
not only recreate UI-UX with mxml and new UI sets...

 

So I think this is important not for concrete users, but for Royale as a 
project that has an important task in make as easy as we can ports from Flex to 
Royale.

 

 

 

 

2018-02-15 10:30 GMT+01:00 Piotr Zarzycki :

Carlos,

 

I believe it is the matter of trying. Harbs did try and replace his 
ArrayCollection without the problem with ArrayList. I did try it with some demo 
apps and it went well. If you start your migration and face a wall - it doesn't 
have to end up with solution where you adding some things to Royale. You can 
always implement ArrayCollection in your application and use it. 


My thought is that not everything need to be part of Royale.  :)

 

Thanks, Piotr

 

2018-02-15 10:25 GMT+01:00 Carlos Rovira :

Hi Harbs,

 

mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are very 
close to the business logic we don't want to migrate or try to left untouched. 

I think that three classes should have Royale counterparts to reduce migration 
pain.

 

I'm talking more from a user role or someone that wants in the end make the 
same Alina is doing with our Avant2 app at Codeoscopic

 

thanks

 

 

2018-02-15 10:15 GMT+01:00 Gabe Harbs :

CloseEvent,FaultEvent and ResultEvent are not really needed in Royale. Royale 
takes a much more “laid back” approach to Events and only creates new Event 
classes when they are absolutely needed.

 

99% if the uses of ArrayCollection can be replaced with ArrayList which exists 
in Royale.

 

Sort and SortField do not exist, but I’ve found that I was able to replace my 
uses with a simple Array sort.

 

For Alert, you can either use Alert or SimpleAlert. Another option is an MDL 
Dialog.

 

StringUtil is a direct port from mx. The functions in StringUtil will gradually 
be deprecated in favor of package level functions.

 

Make sure you really need PopUpManager. Like was already mentioned, you can 
probably just use addElement().

 

HTH,

Harbs

 

On Feb 15, 2018, at 9:06 AM, Alina Kazi  wrote:

 

Hi,

 

I have replaced few imports in Apache Royale Project after comparison in terms 
of functionality.

As you all are more familiar to Flex and Apache Royale. 

Are these correct substitutes?

import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;

import org.apache.royale.events.CloseEvent; // instead of import 
mx.events.CloseEvent;

import org.apache.royale.net.events.FaultEvent; // instead of import 
mx.rpc.events.FaultEvent;

import org.apache.royale.net.events.ResultEvent; //instead of import 
mx.rpc.events.ResultEvent;

import mx.collections.ArrayCollection; //very similar to 
org.apache.royale.collections.TreeData

import mx.collections.Sort; /

RE: Substitutes in Apache Royale

2018-02-15 Thread Alina Kazi
Hi Alex,

Thank you so much. You gave me hope that I can achieve my target on time and at 
least I am working in right direction.

At most places I'm using getItemAt(0) to access the element in ArrayCollection.

At some places myArrayCollection[0].propertyname  to access it

 

If you will modify the Royale compiler, I will definitely try compiling my Flex 
app with the Royale compiler and generate a report of APIs used.

Currently I am using Visual Studio Code and apache royale 0.9.0 release is 
installed.I will need your guidance which IDE and apache royale release should 
I use to generate that report.

 

Thanks,

Alina Kazi

From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Thursday, February 15, 2018 1:40 PM
To: users@royale.apache.org
Subject: Re: Substitutes in Apache Royale

 

Hi Alina,

 

Other than ArrayCollection, that looks right.  There will be sorting classes 
eventually.

 

I think there are two buckets of things that you are going to need:

 

Things we haven't written yet:

  - DividedBox/Container (mostly done)

 - Menu/MenuBar

 - VariableRowHeight

 - Editable DataGrids

 - Sorting?

 

Things we have written, but aren't packaged in a way that makes migration easy:

 - TitleWindow

 - Canvas

 - ArrayCollection

 

For ArrayCollection, do you use array indexing (myArrayCollection[0]) or do you 
access it as getItemAt(0)?

 

You have so many files to port, it is tempting to create a Spark-ish and MX-ish 
component set.  They wouldn't be fully backward compatible but would try to 
implement the most commonly used APIs.  I'm wondering what percentage of Flex 
APIs you actually used in your app.  If I modify the Royale compiler, could you 
try compiling your Flex app with the Royale compiler and generate a report of 
APIs used?

 

Thanks,

-Alex

 

From: Alina Kazi 
Reply-To: "users@royale.apache.org" 
Date: Wednesday, February 14, 2018 at 11:06 PM
To: "users@royale.apache.org" 
Subject: Substitutes in Apache Royale

 

Hi,

 

I have replaced few imports in Apache Royale Project after comparison in terms 
of functionality.

As you all are more familiar to Flex and Apache Royale. 

Are these correct substitutes?

import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;

import org.apache.royale.events.CloseEvent; // instead of import 
mx.events.CloseEvent;

import org.apache.royale.net.events.FaultEvent; // instead of import 
mx.rpc.events.FaultEvent;

import org.apache.royale.net.events.ResultEvent; //instead of import 
mx.rpc.events.ResultEvent;

import mx.collections.ArrayCollection; //very similar to 
org.apache.royale.collections.TreeData

import mx.collections.Sort; // No Alternate found

import mx.collections.SortField;// No Alternate found

import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or .IPopUpHost

import org.apache.royale.utils.StringUtil;// instead of import 
mx.utils.StringUtil;

 

Reference: 
http://apacheflexbuild.cloudapp.net:8080/job/Royale_ASDoc_Example/lastSuccessfulBuild/artifact/examples/royale/ASDoc/bin/js-debug/index.html
 
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheflexbuild.cloudapp.net%3A8080%2Fjob%2FRoyale_ASDoc_Example%2FlastSuccessfulBuild%2Fartifact%2Fexamples%2Froyale%2FASDoc%2Fbin%2Fjs-debug%2Findex.html&data=02%7C01%7Caharui%40adobe.com%7C2a0f4a052bf44496feaf08d574445542%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542759199500428&sdata=A9xjrAppjUqWDkvAJTgSHhOOW3ZlkZPPZTD5%2BG4eexw%3D&reserved=0>
 

 

Thanks,

Alina Kazi

 



Re: Substitutes in Apache Royale

2018-02-15 Thread Gabe Harbs
Your milage may vary, but I actually found that my code improved when I was 
forced to convert ArrayCollection to ArrayList. Some cases did not really need 
collections at all, and I did not really use ArrayCollection features anywhere. 
Being forced to use getItem() rather than indexes made the code clearer. The 
only issue I had was getting rid of uses of refresh() (which caused me to 
optimize some things) and replacing Sort with native Array sorting (which is 
also not a bad thing).

None of the cases where I had ResultEvent and FaultEvent really made a lot of 
sense to keep that logic in Royale (events should generally be of type Event), 
so keeping those events would just mask places where code should probably be 
rewritten.

What I did while migrating my code was create dummy classes for these events 
(with constants). This allowed me to analyze where they where being used while 
eliminating compiler errors.

My $0.02,
Harbs

> On Feb 15, 2018, at 11:38 AM, Carlos Rovira  wrote:
> 
> Hi Piotr,
> 
> I considered that scenario, but the fact that this classes (ArrayCollection, 
> ResultEvent and Fault Event), are so close to Flex and to what all people out 
> there like us did to build their Apps, ends make me think that this is our 
> task to make this as easy as possible. We are not talking here of a flex 
> third party component or class that some people was using. We are talking of 
> some core framework classes that are present in almost all Flex apps.
> 
> So if we want to ease migration of flex to royale, this is a huge point to 
> consider since it will be lots of DTOs (or VOs or value objects or POJOs) out 
> there that can be copied without any modification, and the same for 
> Controllers that works with HTTPService, RemoteObject or WebService 
> classes...as well lots os BusinessDelegates, and other classes that are close 
> to the server communication part of the Royale client code.
> 
> If we don't create counterparts those means lots of changes in code bases and 
> not only recreate UI-UX with mxml and new UI sets...
> 
> So I think this is important not for concrete users, but for Royale as a 
> project that has an important task in make as easy as we can ports from Flex 
> to Royale.
> 
> 
> 
> 
> 2018-02-15 10:30 GMT+01:00 Piotr Zarzycki  >:
> Carlos,
> 
> I believe it is the matter of trying. Harbs did try and replace his 
> ArrayCollection without the problem with ArrayList. I did try it with some 
> demo apps and it went well. If you start your migration and face a wall - it 
> doesn't have to end up with solution where you adding some things to Royale. 
> You can always implement ArrayCollection in your application and use it. 
> 
> My thought is that not everything need to be part of Royale.  :)
> 
> Thanks, Piotr
> 
> 2018-02-15 10:25 GMT+01:00 Carlos Rovira  >:
> Hi Harbs,
> 
> mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are very 
> close to the business logic we don't want to migrate or try to left 
> untouched. 
> I think that three classes should have Royale counterparts to reduce 
> migration pain.
> 
> I'm talking more from a user role or someone that wants in the end make the 
> same Alina is doing with our Avant2 app at Codeoscopic
> 
> thanks
> 
> 
> 2018-02-15 10:15 GMT+01:00 Gabe Harbs  >:
> CloseEvent,FaultEvent and ResultEvent are not really needed in Royale. Royale 
> takes a much more “laid back” approach to Events and only creates new Event 
> classes when they are absolutely needed.
> 
> 99% if the uses of ArrayCollection can be replaced with ArrayList which 
> exists in Royale.
> 
> Sort and SortField do not exist, but I’ve found that I was able to replace my 
> uses with a simple Array sort.
> 
> For Alert, you can either use Alert or SimpleAlert. Another option is an MDL 
> Dialog.
> 
> StringUtil is a direct port from mx. The functions in StringUtil will 
> gradually be deprecated in favor of package level functions.
> 
> Make sure you really need PopUpManager. Like was already mentioned, you can 
> probably just use addElement().
> 
> HTH,
> Harbs
> 
>> On Feb 15, 2018, at 9:06 AM, Alina Kazi > > wrote:
>> 
>> Hi,
>>  
>> I have replaced few imports in Apache Royale Project after comparison in 
>> terms of functionality.
>> As you all are more familiar to Flex and Apache Royale. 
>> Are these correct substitutes?
>> import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;
>> import org.apache.royale.events.CloseEvent; // instead of import 
>> mx.events.CloseEvent;
>> import org.apache.royale.net.events.FaultEvent; // instead of import 
>> mx.rpc.events.FaultEvent;
>> import org.apache.royale.net.events.ResultEvent; //instead of import 
>> mx.rpc.events.ResultEvent;
>> import mx.collections.ArrayCollection; //very similar to 
>> org.apache.royale.collections.TreeData
>> import mx.collections.So

Re: Substitutes in Apache Royale

2018-02-15 Thread Carlos Rovira
Hi Piotr,

I considered that scenario, but the fact that this classes
(ArrayCollection, ResultEvent and Fault Event), are so close to Flex and to
what all people out there like us did to build their Apps, ends make me
think that this is our task to make this as easy as possible. We are not
talking here of a flex third party component or class that some people was
using. We are talking of some core framework classes that are present in
almost all Flex apps.

So if we want to ease migration of flex to royale, this is a huge point to
consider since it will be lots of DTOs (or VOs or value objects or POJOs)
out there that can be copied without any modification, and the same for
Controllers that works with HTTPService, RemoteObject or WebService
classes...as well lots os BusinessDelegates, and other classes that are
close to the server communication part of the Royale client code.

If we don't create counterparts those means lots of changes in code bases
and not only recreate UI-UX with mxml and new UI sets...

So I think this is important not for concrete users, but for Royale as a
project that has an important task in make as easy as we can ports from
Flex to Royale.




2018-02-15 10:30 GMT+01:00 Piotr Zarzycki :

> Carlos,
>
> I believe it is the matter of trying. Harbs did try and replace his
> ArrayCollection without the problem with ArrayList. I did try it with some
> demo apps and it went well. If you start your migration and face a wall -
> it doesn't have to end up with solution where you adding some things to
> Royale. You can always implement ArrayCollection in your application and
> use it.
>
> My thought is that not everything need to be part of Royale.  :)
>
> Thanks, Piotr
>
> 2018-02-15 10:25 GMT+01:00 Carlos Rovira :
>
>> Hi Harbs,
>>
>> mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are
>> very close to the business logic we don't want to migrate or try to left
>> untouched.
>> I think that three classes should have Royale counterparts to reduce
>> migration pain.
>>
>> I'm talking more from a user role or someone that wants in the end make
>> the same Alina is doing with our Avant2 app at Codeoscopic
>>
>> thanks
>>
>>
>> 2018-02-15 10:15 GMT+01:00 Gabe Harbs :
>>
>>> CloseEvent,FaultEvent and ResultEvent are not really needed in Royale.
>>> Royale takes a much more “laid back” approach to Events and only creates
>>> new Event classes when they are absolutely needed.
>>>
>>> 99% if the uses of ArrayCollection can be replaced with ArrayList which
>>> exists in Royale.
>>>
>>> Sort and SortField do not exist, but I’ve found that I was able to
>>> replace my uses with a simple Array sort.
>>>
>>> For Alert, you can either use Alert or SimpleAlert. Another option is an
>>> MDL Dialog.
>>>
>>> StringUtil is a direct port from mx. The functions in StringUtil will
>>> gradually be deprecated in favor of package level functions.
>>>
>>> Make sure you really need PopUpManager. Like was already mentioned, you
>>> can probably just use addElement().
>>>
>>> HTH,
>>> Harbs
>>>
>>> On Feb 15, 2018, at 9:06 AM, Alina Kazi  wrote:
>>>
>>> Hi,
>>>
>>> I have replaced few imports in Apache Royale Project after comparison in
>>> terms of functionality.
>>> As you all are more familiar to Flex and Apache Royale.
>>> Are these correct substitutes?
>>> import org.apache.royale.html.Alert; //instead of import
>>> mx.controls.Alert;
>>> import org.apache.royale.events.CloseEvent; // instead of import
>>> mx.events.CloseEvent;
>>> import org.apache.royale.net.events.FaultEvent; // instead of import
>>> mx.rpc.events.FaultEvent;
>>> import org.apache.royale.net.events.ResultEvent; //instead of import
>>> mx.rpc.events.ResultEvent;
>>> import mx.collections.ArrayCollection; //very similar to
>>> org.apache.royale.collections.TreeData
>>> import mx.collections.Sort; // No Alternate found
>>> import mx.collections.SortField;// No Alternate found
>>> import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or
>>> .IPopUpHost
>>> import org.apache.royale.utils.StringUtil;// instead of import
>>> mx.utils.StringUtil;
>>>
>>> Reference: http://apacheflexbuild.cloudapp.net:8080/job/Roya
>>> le_ASDoc_Example/lastSuccessfulBuild/artifact/examples/royal
>>> e/ASDoc/bin/js-debug/index.html
>>>
>>> Thanks,
>>> Alina Kazi
>>>
>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>



-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Substitutes in Apache Royale

2018-02-15 Thread Piotr Zarzycki
Carlos,

I believe it is the matter of trying. Harbs did try and replace his
ArrayCollection without the problem with ArrayList. I did try it with some
demo apps and it went well. If you start your migration and face a wall -
it doesn't have to end up with solution where you adding some things to
Royale. You can always implement ArrayCollection in your application and
use it.

My thought is that not everything need to be part of Royale.  :)

Thanks, Piotr

2018-02-15 10:25 GMT+01:00 Carlos Rovira :

> Hi Harbs,
>
> mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are
> very close to the business logic we don't want to migrate or try to left
> untouched.
> I think that three classes should have Royale counterparts to reduce
> migration pain.
>
> I'm talking more from a user role or someone that wants in the end make
> the same Alina is doing with our Avant2 app at Codeoscopic
>
> thanks
>
>
> 2018-02-15 10:15 GMT+01:00 Gabe Harbs :
>
>> CloseEvent,FaultEvent and ResultEvent are not really needed in Royale.
>> Royale takes a much more “laid back” approach to Events and only creates
>> new Event classes when they are absolutely needed.
>>
>> 99% if the uses of ArrayCollection can be replaced with ArrayList which
>> exists in Royale.
>>
>> Sort and SortField do not exist, but I’ve found that I was able to
>> replace my uses with a simple Array sort.
>>
>> For Alert, you can either use Alert or SimpleAlert. Another option is an
>> MDL Dialog.
>>
>> StringUtil is a direct port from mx. The functions in StringUtil will
>> gradually be deprecated in favor of package level functions.
>>
>> Make sure you really need PopUpManager. Like was already mentioned, you
>> can probably just use addElement().
>>
>> HTH,
>> Harbs
>>
>> On Feb 15, 2018, at 9:06 AM, Alina Kazi  wrote:
>>
>> Hi,
>>
>> I have replaced few imports in Apache Royale Project after comparison in
>> terms of functionality.
>> As you all are more familiar to Flex and Apache Royale.
>> Are these correct substitutes?
>> import org.apache.royale.html.Alert; //instead of import
>> mx.controls.Alert;
>> import org.apache.royale.events.CloseEvent; // instead of import
>> mx.events.CloseEvent;
>> import org.apache.royale.net.events.FaultEvent; // instead of import
>> mx.rpc.events.FaultEvent;
>> import org.apache.royale.net.events.ResultEvent; //instead of import
>> mx.rpc.events.ResultEvent;
>> import mx.collections.ArrayCollection; //very similar to
>> org.apache.royale.collections.TreeData
>> import mx.collections.Sort; // No Alternate found
>> import mx.collections.SortField;// No Alternate found
>> import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or
>> .IPopUpHost
>> import org.apache.royale.utils.StringUtil;// instead of import
>> mx.utils.StringUtil;
>>
>> Reference: http://apacheflexbuild.cloudapp.net:8080/job/
>> Royale_ASDoc_Example/lastSuccessfulBuild/artifact/examples/
>> royale/ASDoc/bin/js-debug/index.html
>>
>> Thanks,
>> Alina Kazi
>>
>>
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


-- 

Piotr Zarzycki

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


Re: Substitutes in Apache Royale

2018-02-15 Thread Carlos Rovira
Hi Harbs,

mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are
very close to the business logic we don't want to migrate or try to left
untouched.
I think that three classes should have Royale counterparts to reduce
migration pain.

I'm talking more from a user role or someone that wants in the end make the
same Alina is doing with our Avant2 app at Codeoscopic

thanks


2018-02-15 10:15 GMT+01:00 Gabe Harbs :

> CloseEvent,FaultEvent and ResultEvent are not really needed in Royale.
> Royale takes a much more “laid back” approach to Events and only creates
> new Event classes when they are absolutely needed.
>
> 99% if the uses of ArrayCollection can be replaced with ArrayList which
> exists in Royale.
>
> Sort and SortField do not exist, but I’ve found that I was able to replace
> my uses with a simple Array sort.
>
> For Alert, you can either use Alert or SimpleAlert. Another option is an
> MDL Dialog.
>
> StringUtil is a direct port from mx. The functions in StringUtil will
> gradually be deprecated in favor of package level functions.
>
> Make sure you really need PopUpManager. Like was already mentioned, you
> can probably just use addElement().
>
> HTH,
> Harbs
>
> On Feb 15, 2018, at 9:06 AM, Alina Kazi  wrote:
>
> Hi,
>
> I have replaced few imports in Apache Royale Project after comparison in
> terms of functionality.
> As you all are more familiar to Flex and Apache Royale.
> Are these correct substitutes?
> import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;
> import org.apache.royale.events.CloseEvent; // instead of import
> mx.events.CloseEvent;
> import org.apache.royale.net.events.FaultEvent; // instead of import
> mx.rpc.events.FaultEvent;
> import org.apache.royale.net.events.ResultEvent; //instead of import
> mx.rpc.events.ResultEvent;
> import mx.collections.ArrayCollection; //very similar to
> org.apache.royale.collections.TreeData
> import mx.collections.Sort; // No Alternate found
> import mx.collections.SortField;// No Alternate found
> import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or
> .IPopUpHost
> import org.apache.royale.utils.StringUtil;// instead of import
> mx.utils.StringUtil;
>
> Reference: http://apacheflexbuild.cloudapp.net:
> 8080/job/Royale_ASDoc_Example/lastSuccessfulBuild/artifact/
> examples/royale/ASDoc/bin/js-debug/index.html
>
> Thanks,
> Alina Kazi
>
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Substitutes in Apache Royale

2018-02-15 Thread Gabe Harbs
CloseEvent,FaultEvent and ResultEvent are not really needed in Royale. Royale 
takes a much more “laid back” approach to Events and only creates new Event 
classes when they are absolutely needed.

99% if the uses of ArrayCollection can be replaced with ArrayList which exists 
in Royale.

Sort and SortField do not exist, but I’ve found that I was able to replace my 
uses with a simple Array sort.

For Alert, you can either use Alert or SimpleAlert. Another option is an MDL 
Dialog.

StringUtil is a direct port from mx. The functions in StringUtil will gradually 
be deprecated in favor of package level functions.

Make sure you really need PopUpManager. Like was already mentioned, you can 
probably just use addElement().

HTH,
Harbs

> On Feb 15, 2018, at 9:06 AM, Alina Kazi  wrote:
> 
> Hi,
>  
> I have replaced few imports in Apache Royale Project after comparison in 
> terms of functionality.
> As you all are more familiar to Flex and Apache Royale. 
> Are these correct substitutes?
> import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;
> import org.apache.royale.events.CloseEvent; // instead of import 
> mx.events.CloseEvent;
> import org.apache.royale.net.events.FaultEvent; // instead of import 
> mx.rpc.events.FaultEvent;
> import org.apache.royale.net.events.ResultEvent; //instead of import 
> mx.rpc.events.ResultEvent;
> import mx.collections.ArrayCollection; //very similar to 
> org.apache.royale.collections.TreeData
> import mx.collections.Sort; // No Alternate found
> import mx.collections.SortField;// No Alternate found
> import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or 
> .IPopUpHost
> import org.apache.royale.utils.StringUtil;// instead of import 
> mx.utils.StringUtil;
>  
> Reference: 
> http://apacheflexbuild.cloudapp.net:8080/job/Royale_ASDoc_Example/lastSuccessfulBuild/artifact/examples/royale/ASDoc/bin/js-debug/index.html
>  
> 
>  
> Thanks,
> Alina Kazi



Re: Substitutes in Apache Royale

2018-02-15 Thread Alex Harui
Hi Alina,

Other than ArrayCollection, that looks right.  There will be sorting classes 
eventually.

I think there are two buckets of things that you are going to need:

Things we haven't written yet:
  - DividedBox/Container (mostly done)
 - Menu/MenuBar
 - VariableRowHeight
 - Editable DataGrids
 - Sorting?

Things we have written, but aren't packaged in a way that makes migration easy:
 - TitleWindow
 - Canvas
 - ArrayCollection

For ArrayCollection, do you use array indexing (myArrayCollection[0]) or do you 
access it as getItemAt(0)?

You have so many files to port, it is tempting to create a Spark-ish and MX-ish 
component set.  They wouldn't be fully backward compatible but would try to 
implement the most commonly used APIs.  I'm wondering what percentage of Flex 
APIs you actually used in your app.  If I modify the Royale compiler, could you 
try compiling your Flex app with the Royale compiler and generate a report of 
APIs used?

Thanks,
-Alex

From: Alina Kazi mailto:alina.k...@d-bz.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Wednesday, February 14, 2018 at 11:06 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Substitutes in Apache Royale

Hi,

I have replaced few imports in Apache Royale Project after comparison in terms 
of functionality.
As you all are more familiar to Flex and Apache Royale.
Are these correct substitutes?
import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;
import org.apache.royale.events.CloseEvent; // instead of import 
mx.events.CloseEvent;
import org.apache.royale.net.events.FaultEvent; // instead of import 
mx.rpc.events.FaultEvent;
import org.apache.royale.net.events.ResultEvent; //instead of import 
mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection; //very similar to 
org.apache.royale.collections.TreeData
import mx.collections.Sort; // No Alternate found
import mx.collections.SortField;// No Alternate found
import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or .IPopUpHost
import org.apache.royale.utils.StringUtil;// instead of import 
mx.utils.StringUtil;

Reference: 
http://apacheflexbuild.cloudapp.net:8080/job/Royale_ASDoc_Example/lastSuccessfulBuild/artifact/examples/royale/ASDoc/bin/js-debug/index.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheflexbuild.cloudapp.net%3A8080%2Fjob%2FRoyale_ASDoc_Example%2FlastSuccessfulBuild%2Fartifact%2Fexamples%2Froyale%2FASDoc%2Fbin%2Fjs-debug%2Findex.html&data=02%7C01%7Caharui%40adobe.com%7C2a0f4a052bf44496feaf08d574445542%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542759199500428&sdata=A9xjrAppjUqWDkvAJTgSHhOOW3ZlkZPPZTD5%2BG4eexw%3D&reserved=0>

Thanks,
Alina Kazi



Substitutes in Apache Royale

2018-02-14 Thread Alina Kazi
Hi,

 

I have replaced few imports in Apache Royale Project after comparison in
terms of functionality.

As you all are more familiar to Flex and Apache Royale. 

Are these correct substitutes?

import org.apache.royale.html.Alert; //instead of import mx.controls.Alert;

import org.apache.royale.events.CloseEvent; // instead of import
mx.events.CloseEvent;

import org.apache.royale.net.events.FaultEvent; // instead of import
mx.rpc.events.FaultEvent;

import org.apache.royale.net.events.ResultEvent; //instead of import
mx.rpc.events.ResultEvent;

import mx.collections.ArrayCollection; //very similar to
org.apache.royale.collections.TreeData

import mx.collections.Sort; // No Alternate found

import mx.collections.SortField;// No Alternate found

import mx.managers.PopUpManager; //org.apache.royale.core.IPopUp or
.IPopUpHost

import org.apache.royale.utils.StringUtil;// instead of import
mx.utils.StringUtil;

 

Reference:
http://apacheflexbuild.cloudapp.net:8080/job/Royale_ASDoc_Example/lastSucces
sfulBuild/artifact/examples/royale/ASDoc/bin/js-debug/index.html

 

Thanks,

Alina Kazi