Re: Struggling with resource files

2017-10-01 Thread Alex Harui
See the Adobe docs: [1][2] I think the functionality you are looking forward is supported by the compiler. The compiler already has a set of options that dictate what bundles are "inline" in the app and I think they can be re-used to output different things. [ResourceBundle] metadata tells the c

RE: Struggling with resource files

2017-10-01 Thread Idylog - Nicolas Granon
>From our point of view (app development), the Flex way Alex describes is >simple and easy to grab. The only "complaint" is that you cannot alias the resource file to a var/const inside the metatag which would be more convenient than declaring a separate constant. I believe that most people usi

Re: Struggling with resource files

2017-10-01 Thread Harbs
I should probably spend some time to learn how resource bundles worked in Flex… ;-) Metadata seems like a good solution, but it seems to me like there needs to be two sets of metadata tags. Some comments and questions I have: 1. We’d need metadata tags which would just inline the resource into

Re: License issue for back port of AMF code

2017-10-01 Thread Harbs
The permission he received was sufficient to relicense it. Thanks, Harbs > On Oct 2, 2017, at 7:29 AM, Justin Mclean wrote: > > Hi, > >> If you have an issue please be very, very clear in your next email precisely >> what you have issue with. Be meticulous. Filenames, etc. > > The off list c

Re: License issue for back port of AMF code

2017-10-01 Thread Justin Mclean
Hi, > If you have an issue please be very, very clear in your next email precisely > what you have issue with. Be meticulous. Filenames, etc. The off list conversion can be found here [1]. You can see that while permission to relicense was asked for it was not explicitly given only permission

Re: License issue for back port of AMF code

2017-10-01 Thread Dave Fisher
Hi Justin, If you have an issue please be very, very clear in your next email precisely what you have issue with. Be meticulous. Filenames, etc. Regards, Dave Sent from my iPhone > On Oct 1, 2017, at 7:15 PM, Justin Mclean wrote: > > Hi, > >> Already done: https://github.com/apache/royale-a

Re: License issue for back port of AMF code

2017-10-01 Thread Alex Harui
I'm satisfied that he received permission. I'm not sure what header you are looking at, but when I look at it, it appears to be the correct version for ALv2 code not donated to the ASF. Thanks, -Alex On 10/1/17, 7:15 PM, "Justin Mclean" wrote: >Hi, > >> Already done: >>https://na01.safelinks.

Re: License issue for back port of AMF code

2017-10-01 Thread Justin Mclean
Hi, > Already done: https://github.com/apache/royale-asjs/issues/16 I’m not sure that "diverged enough” isn enough reason from a legal / ASF policy point of view. If you look at the reply from the original author he didn’t give explicit permission to relicense the code. "Feel free to adapt and

Re: License issue for back port of AMF code

2017-10-01 Thread Alex Harui
Already done: https://github.com/apache/royale-asjs/issues/16 On 10/1/17, 6:00 PM, "Justin Mclean" wrote: >Hi, > >The recently back ported AMF code [1] looks to have a license issue. It >seems on the surface to be Apache licensed [2] but is in fact based on >this code [3] which is Artistic Licen

Possible license issue with new web site

2017-10-01 Thread Justin Mclean
Hi, I looked at the placeholder for the new site. [1] My understanding is that it’s intended to be moved to Word Press or be hosted at a VM at the ASF. The theme that is being used is under a commercial license [2] do we know if infra/the ASF would be OK in hosting that / having the main site

License issue for back port of AMF code

2017-10-01 Thread Justin Mclean
Hi, The recently back ported AMF code [1] looks to have a license issue. It seems on the surface to be Apache licensed [2] but is in fact based on this code [3] which is Artistic License/GPL licensed. [4] There’s been some discussion on the artistic license on various lists/JIRA but it's not be

Re: Struggling with resource files

2017-10-01 Thread Alex Harui
On 10/1/17, 7:31 AM, "Harbs" wrote: >I’d really like for the compiler to include resources as strings, but I’m >not sure what the best way to declare it is. > >How can we declare a reference to the resource and have the compiler >include it? Well, that depends... The [ResourceBundle] metadata

Re: Nightly Builds Available

2017-10-01 Thread Alex Harui
I'm tempted to just merge packaging into develop and start the rename and realize that things will likely be broken for several days. Or we can do the rename in branches. I'll poke at the packaging a bit more before merging. -Alex On 10/1/17, 12:07 PM, "Piotr Zarzycki" wrote: >Alex, > >Are yo

Re: [Royale|Maven] Setting up new maven build on builds.a.o

2017-10-01 Thread Piotr Zarzycki
Royale pipeline after chart-work delete is up and running [1] [1] https://builds.apache.org/job/Royale%20Pipeline/ Piotr 2017-10-01 19:33 GMT+02:00 Harbs : > It was merged into develop on April 11. > > Delete away… ;-) > > > On Oct 1, 2017, at 8:24 PM, Piotr Zarzycki > wrote: > > > > I just cr

Re: Nightly Builds Available

2017-10-01 Thread Piotr Zarzycki
Alex, Are you going to merge packaging branch to develop and then start renaming process ? I'm asking cause maybe it would be good idea to move that branch under folder feature/packaging - We will have to this automatically under control of pipeline. Once renaming will start Maven build will tell

Re: [MAVEN-BUILD] Royale-asjs - Build # 45 - Failure

2017-10-01 Thread Harbs
I think this was because I forgot two headers. I fixed that. Hopefully the next build will pass… > On Oct 1, 2017, at 9:18 PM, Apache Jenkins Server > wrote: > > The Apache Jenkins build system has built Royale-asjs (build #45) > > Status: Failure > > Check console output at https://builds.a

Re: Nightly Builds Available

2017-10-01 Thread Piotr Zarzycki
Alex, Thanks new nightly JS Only is working nicely with Moonshine along with my fix. :) Thank you! Piotr 2017-10-01 16:13 GMT+02:00 Alex Harui : > Yes, you are correct that the SWCs got corrupted. I made one change but > won't have time to test until later today. Feel free to grab the latest

Re: [Royale|Maven] Setting up new maven build on builds.a.o

2017-10-01 Thread Harbs
It was merged into develop on April 11. Delete away… ;-) > On Oct 1, 2017, at 8:24 PM, Piotr Zarzycki wrote: > > I just created Royale Pipeline based on FlexJS Pipeline. It's failing on > fetching one branch [1] - feature/chart-work >

Re: [Royale|Maven] Setting up new maven build on builds.a.o

2017-10-01 Thread Piotr Zarzycki
I just created Royale Pipeline based on FlexJS Pipeline. It's failing on fetching one branch [1] - feature/chart-work . I would like to remove it - any objections to not to do this ? [1] https://builds

Re: FlexJS element setter

2017-10-01 Thread Harbs
Thanks for looking it over. Merged. > On Oct 1, 2017, at 7:07 PM, Piotr Zarzycki wrote: > > Hi Harbs, > > I'm adding Royale dev list. > > I just checked your changes with more complex app and apart of many > conflicts during merge with my custom SDK I don't see any problems. Take a > look int

RE: Struggling with resource files

2017-10-01 Thread Idylog - Nicolas Granon
"What parses the resource into objects? The resources are not in true object notation." Oh, ok. I understand now. I do not have the answer but there have been properties files parser implementations (in java and also I believe in a as3 library named StringUtils with an 's'); Given the syntax o

Re: FlexJS element setter

2017-10-01 Thread Piotr Zarzycki
Hi Harbs, I'm adding Royale dev list. I just checked your changes with more complex app and apart of many conflicts during merge with my custom SDK I don't see any problems. Take a look into my comments to one of your commit. Once you do that from my sight is green light to merge it to develop.

Re: [FlexJS] Guidelines for implementation of layout containers and navigation containers

2017-10-01 Thread Harbs
Great perspective. I guess runtime switching is probably more common than I suspect. ;-) Harbs > On Oct 1, 2017, at 4:28 PM, Andrew Wetmore wrote: > > Here in Canada it is a major negative for an app to not be able to flip > from English to French and back again while you are using the app, pe

Re: Struggling with resource files

2017-10-01 Thread Harbs
I’d really like for the compiler to include resources as strings, but I’m not sure what the best way to declare it is. How can we declare a reference to the resource and have the compiler include it? Something like this, where the compiler would just inline the resources? >> > resources=“org.

Re: Struggling with resource files

2017-10-01 Thread Alex Harui
IMO, Resources should/could be included as richer versions of IValuesImpl. (IValuesImplWithCompileTimeResources, IValuesImplWithLoadableResources, etc). But also, IMO, there is a PAYG dimension around resource types. If your resources are all strings, it is wasteful for the compiler to compile t

Re: Nightly Builds Available

2017-10-01 Thread Alex Harui
Yes, you are correct that the SWCs got corrupted. I made one change but won't have time to test until later today. Feel free to grab the latest build and try again. Thanks, -Alex On 9/30/17, 10:44 AM, "Piotr Zarzycki" wrote: >I just made small experiment. > >1) I've downloaded FlexJS nightly

Re: [Royale|Maven] Setting up new maven build on builds.a.o

2017-10-01 Thread Alex Harui
When you create a "New Item" at the bottom of the page is the Copy option where you enter the name of the project to copy. It is just above the button you click to confirm the new item. It will auto-complete as you type. -Alex On 10/1/17, 1:16 AM, "Piotr Zarzycki" wrote: >Alex, > >Where did y

Re: [FlexJS] Guidelines for implementation of layout containers and navigation containers

2017-10-01 Thread Andrew Wetmore
Here in Canada it is a major negative for an app to not be able to flip from English to French and back again while you are using the app, perhaps with a colleague who is more comfortable in the other language.

Re: [Royale] Localization and I8N

2017-10-01 Thread Harbs
All good stuff! :-) > Regarding ResourceManager, it is very important to us (and, I believe, for > all developers who target international customers). FWIW, I actually developed my own localization system for my app (in 16 languages). It was important to me to have strongly typed strings. The

Re: Struggling with resource files

2017-10-01 Thread Harbs
> On Oct 1, 2017, at 2:42 PM, Idylog - Nicolas Granon > wrote: > > Hi Harbs, > > "I’m not sure if a default resource bundle should be included at compile time > as well." > > Well, it seems to me that, in Flex, there must be a default bundle (cooked > inside the swf) that is used by the fra

RE: Struggling with resource files

2017-10-01 Thread Idylog - Nicolas Granon
Hi Harbs, "I’m not sure if a default resource bundle should be included at compile time as well." Well, it seems to me that, in Flex, there must be a default bundle (cooked inside the swf) that is used by the framework itself for a number of tasks : Standard validators, standard formatters, def

[Royale] Localization and I8N

2017-10-01 Thread Idylog - Nicolas Granon
Ok for the dev royale list. Thank for your work and information about Validators. I will definitely have a (deep) look at it. As you say, it is a good example of the kind of class to which we might contribute to, and it will be quite instructive to study. Furthermore, we have an AsyncValidator cl

Struggling with resource files

2017-10-01 Thread Harbs
I’m trying to figure out an elegant way to use resource bundles in a PAYG way and I’m having trouble. I’m actually not really sure how resource bundles are compiled and used in classic Flex. As I see it, there’s three cases where resource bundles might be used: 1. The locale is known at compil

Re: [royale-asjs] branch feature/flexjs_wrapper updated (ad9458e -> 9b33767)

2017-10-01 Thread Piotr Zarzycki
Hi Harbs, Today I have some spare time to check your changes with one app. That is why I have merged develop into that branch to have everything fresh. :) I will let you know. :) Thanks! 2017-10-01 10:45 GMT+02:00 Harbs : > Any objection to me merging this into develop? > > > On Oct 1, 2017, at

Re: [royale-asjs] branch feature/flexjs_wrapper updated (ad9458e -> 9b33767)

2017-10-01 Thread Harbs
Any objection to me merging this into develop? > On Oct 1, 2017, at 11:20 AM, pio...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > piotrz pushed a change to branch feature/flexjs_wrapper > in repository https://gitbox.apache.org/repos/asf/royale-as

Re: [Royale|Maven] Setting up new maven build on builds.a.o

2017-10-01 Thread Piotr Zarzycki
Alex, Where did you find Copy option ? I would like to create the same for pipeline [1] [1] https://builds.apache.org/view/E-G/view/Flex/job/FlexJS%20Pipeline/ Thanks, Piotr 2017-09-30 17:56 GMT+02:00 Piotr Zarzycki : > Thanks Alex! Great! > > On Sat, Sep 30, 2017, 17:10 Alex Harui wrote: >