Re: Update of the royale web site for TDJ

2022-03-07 Thread Carlos Rovira
Hi,

for what I see I think all is ok. You're doing right. Maybe the problem is
you have cache in your browser that needs to be cleaned.

El lun, 7 mar 2022 a las 2:06, Andrew Wetmore ()
escribió:

> We may have to appeal to Carlos for instructions.
>
> On Sun, Mar 6, 2022 at 8:24 PM Maria Jose Esteve 
> wrote:
>
> > Hi,
> > I have not found explicit instructions for upgrading TDJ, but I have
> > deduced from the upgrade instructions on the royale website [1] that you
> > manually upgrade with a working release:
> > - I compiled TDJ (Maven build).
> > - I updated the "tourdejewel" folder in the
> "royale-website/tree/asf-site"
> > repository with the updated TDJ build.
> >
> > Apparently, I am totally wrong and the TDJ site update is not updated
> this
> > way because I don't see the changes on the website and it has been more
> > than 5 hours since I did the last commit.
> > How should I update?
> >
> >
> > [1]
> https://github.com/apache/royale-asjs/wiki/Release-Manager-(Web-Site)
> >
> > Thx
> >
> > Hiedra
> >
> >
>
> --
> Andrew Wetmore
>
> Editor, Moose House Publications <https://moosehousepress.com/>
> Editor-Writer, The Apache Software Foundation <https://apache.org/>
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Preproduction website not used

2022-03-02 Thread Carlos Rovira
Hi Maria Jose
no TDJ is not part of the wordpress installation, so it's compiled and
uploaded directly to r.a.org


El mar, 1 mar 2022 a las 19:56, Maria Jose Esteve ()
escribió:

> Hi Carlos, a pleasure to read you again ;P
>
> One question... Is the TDJ on that server?
>
> Hiedra
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: martes, 1 de marzo de 2022 11:50
> Para: Apache Royale Development 
> Asunto: Preproduction website not used
>
> Hi all,
>
> about the pre-production website for royale hosted at
> royale.codeoscopic.com .
>
> The site has not been used for the purpose for which it was created for
> almost a year. In fact, royale.apache.org still shows old versions
> (0.9.7).
>
> For my part there is no problem in continuing to maintain it. But this
> server is likely to be withdrawn at some point by the company, so I would
> recommend that in the coming months some change be considered in this
> regard.
>
> Or in case it is no longer needed, it could be removed.
>
>
> --
>
> *Carlos Rovira*
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Preproduction website not used

2022-03-01 Thread Carlos Rovira
Hi all,

about the pre-production website for royale hosted at royale.codeoscopic.com
.

The site has not been used for the purpose for which it was created for
almost a year. In fact, royale.apache.org still shows old versions (0.9.7).

For my part there is no problem in continuing to maintain it. But this
server is likely to be withdrawn at some point by the company, so I would
recommend that in the coming months some change be considered in this
regard.

Or in case it is no longer needed, it could be removed.


-- 

*Carlos Rovira*


Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-03 Thread Carlos Rovira
gt; >> > > > > > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and
> > >> > >> > > > > > Maven aligned
> > >> > >> > > > > >
> > >> > >> > > > > > Ah ... ok ... thanks for the explanation.
> > >> > >> > > > > >
> > >> > >> > > > > > That does make sense ... guess I just never completely
> > >> > >> > > > > > understood the typedef stuff ;)
> > >> > >> > > > > >
> > >> > >> > > > > > ... so I'll have to find a way to streamline the names
> > >> > >> > > > > > of the typedef libraries in all of these 2 (Well
> > >> > >> > > > > > actually probably just
> > >> > >> > > > > > 2)
> > >> > >> > > > > > - external-library-path
> > >> > >> > > > > > - js-external-library-path
> > >> > >> > > > > >
> > >> > >> > > > > > But that will be a thing for tomorrow ... calling it a
> > >> > >> > > > > > day and signing off for today.
> > >> > >> > > > > >
> > >> > >> > > > > > I just pushed my changes from today ... so if you
> > >> > >> > > > > > folks want to check what I'm doing ... now you have
> > >> > >> > > > > > something to look at
> > >> > >> > > > > > :.)
> > >> > >> > > > > >
> > >> > >> > > > > > Chris
> > >> > >> > > > > >
> > >> > >> > > > > >
> > >> > >> > > > > > -Ursprüngliche Nachricht-
> > >> > >> > > > > > Von: Josh Tynjala 
> > >> > >> > > > > > Gesendet: Montag, 1. März 2021 23:13
> > >> > >> > > > > > An: Apache Royale Development 
> > >> > >> > > > > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and
> > >> > >> > > > > > Maven aligned
> > >> > >> > > > > >
> > >> > >> > > > > > As you've seen, there are three different
> > >> > >> > > > > > external-library-path
> > >> > >> > > > options:
> > >> > >> > > > > > external-library-path, js-external-library-path and
> > >> > >> > > > > > swf-external-library-path.
> > >> > >> > > > > >
> > >> > >> > > > > > By default, external-library-path is used by both JS
> > >> > >> > > > > > and SWF targets, but you can use
> > >> > >> > > > > > js-external-library-path or swf-external-library-path
> > >> > >> > > > > > to override the external-library-path for a
> > >> > >> > > > specific target.
> > >> > >> > > > > >
> > >> > >> > > > > > In other words, if js-external-library-path is defined:
> > >> > >> > > > > >
> > >> > >> > > > > > - the JS target will use js-external-library-path, and
> > >> > >> > > > > > it will ignore external-library-path
> > >> > >> > > > > > - the SWF target will still use external-library-path
> > >> > >> > > > > >
> > >> > >> > > > > > Similarly, if swf-external-library-path is defined:
> > >> > >> > > > > >
> > >> > >> > > > > > - the SWF target will use swf-external-library-path,
> > >> > >> > > > > > and it will ignore external-library-path
> > >> > >> > > > > > - the JS target will still use external-library-path
> > >> > >> > > > > >
> > >> > >> > > > > >  If both js-external-library-path and
> > >> > >> > > > > > swf-external-library-path are
> > >> > >

Re: Library compilation with asconfigc produces an error

2021-03-01 Thread Carlos Rovira
Hi, just in pom.xml we need to left as it was, since poms are for building
with maven

El lun, 1 mar 2021 a las 18:32, Maria Jose Esteve ()
escribió:

> Hello Piotr
> I came to understand that the problems I had in the binding of the
> currentState was caused because it did not exclude the correct mxroyale, is
> it? But why? Why is it an mxml tag? ...
>
> Hiedra
>
> -Mensaje original-
> De: Piotr Zarzycki 
> Enviado el: lunes, 1 de marzo de 2021 18:22
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
>
> -compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css;
> - That part has not changed when you build by Maven it has to have version
> here
>
> However when you build using Ant/Maven distribution it should looks like
> that - at least once Chris finish everything what he is doing. Ant
> distribution right now is working like that for sure.
>
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;
>
> pon., 1 mar 2021 o 18:18 Maria Jose Esteve  napisał(a):
>
> > Guys!! This point is already solved ... (after reading Carlos's email "
> > AW: About removing ${royale.framework.version} in pom.xml to refer to
> > MXRoyale CSS in todomvc example")
> >
> > The problem disappears when I put back on the pom :
> > -compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:de
> > faults.css;
> > again instead of
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;
> >
> > I do not understand why but surely you give it its meaning .
> > Many thanks for everything.
> > Now for SimpleLib !!!
> >
> > Hiedra
> > -Mensaje original-
> > De: Carlos Rovira  Enviado el: lunes, 1 de
> > marzo de 2021 13:30
> > Para: Apache Royale Development 
> > Asunto: Re: Library compilation with asconfigc produces an error
> >
> > Hi MJ,
> >
> > It's strange, since crux is not working for me in that project. maybe
> > something is stale...don't know. I'll try to wipe it all and build
> > from scratch. If not I'll try to overlay other working example and start
> from it.
> >
> > El dom, 28 feb 2021 a las 21:12, Maria Jose Esteve
> > ()
> > escribió:
> >
> > > I have tried your changes in the pom, in one of my work projects and
> > > it does not really work.
> > > The libraries compile but something strange happens in the
> > > Application (which already happened to me with the namespace patch):
> > > in the mxml tags where the "currentState" is referred to, they don't
> > > work, for
> > example:
> > >
> > >  > > hasFooterBar="true"
> > > className="mainbg1"
> > > className.loggedOut="mainbg2"
> > > className.loginSelModulo="mainbg2"
> > > className.loginSelPerfil="mainbg2">
> > >
> > > This had worked very well for us so far.
> > > Or this other:
> > >
> > >  > > visible.loginSelModulo="false"
> > > visible.loginSelPerfil="false"/>
> > >
> > > Crux works well for me.
> > > What is not working for you?
> > >
> > > Hiedra
> > >
> > > -Mensaje original-
> > > De: Carlos Rovira  Enviado el: domingo, 28
> > > de febrero de 2021 20:08
> > > Para: Apache Royale Development 
> > > Asunto: Re: Library compilation with asconfigc produces an error
> > >
> > > Yes, it compiles, but something is wrong with Crux and I still can
> > > get it working right.
> > > So I think the example is not ok. I'm comparing with other working
> > > examples but still can't find what's going wrong, all seems ok
> > >
> > > El dom, 28 feb 2021 a las 18:39, Maria Jose Esteve
> > > ()
> > > escribió:
> > >
> > > > Hi Carlos, your changes in the pom work for me, I have been able
> > > > to compile SimpleLib successfully.
> > > > Now I'm going to try to access ServiceConfig from AppWithLib.mxml
> > > > and I'll tell you.
> > > >
> > > > Hiedra
> > > >
> > > > -Mensaje original-
> > > > De: Carlos Rovira  Enviado el: domingo,
> > > > 28 de febrero de 2021 17:07
> > > > Para: Apache Royale Development 
> > > > Asunto: Re: Library compilation with asconfigc produces an error
> > > >
> > > > Hi Maria

Re: About removing ${royale.framework.version} in pom.xml to refer to MXRoyale CSS in todomvc example

2021-03-01 Thread Carlos Rovira
Hi Chris,

ok, just want to confirm with you. I think this is not related to distro,
so I can put it back, unless you say is not ok to do it, so don't need to
worry about it and continue with your task

thanks


El lun, 1 mar 2021 a las 13:36, Christofer Dutz ()
escribió:

> Aaahh ... ok .. that one.
>
> I renamed the artifacts in the distribution ... ok ... I think right now
> it perhaps doesn't make much sense to figgure out these little details and
> perhaps I should concentrate on the big refactoring. We can then put out
> the little fires there.
>
> You agree?
>
> Chris
>
>
> -----Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Montag, 1. März 2021 13:33
> An: Apache Royale Development 
> Betreff: Re: About removing ${royale.framework.version} in pom.xml to
> refer to MXRoyale CSS in todomvc example
>
> Hi Chris,
>
> this commit: "- Updated the config.xmls to refer to the SWCs with the
> updated Ant-names"
>
> (sha: 70a06fb43714ddc937b985b44595e297b5cd6376)
>
> has the changes I refer. There's some changes in pom.xml examples, but I
> think since are poms and not distribution are ok
>
>
>
> El dom, 28 feb 2021 a las 21:10, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> escribió:
>
> > Hi Carlos,
> >
> > I can't even recall having changed anything in any of the pom.xml files.
> > I'm currently working on the deistribution.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Carlos Rovira 
> > Gesendet: Sonntag, 28. Februar 2021 20:19
> > An: Apache Royale Development 
> > Betreff: About removing ${royale.framework.version} in pom.xml to
> > refer to MXRoyale CSS in todomvc example
> >
> > Hi Chris,
> >
> > this change in pom.xml:
> >
> >
> > -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.versi
> > on}-js.swc:defaults.css;
> >
> > to this:
> >
> > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;
> >
> > is not working right.
> >
> > If I build todomvc-jewel-crux (for example) with the later, I get
> > MXRoyale styles mixed in the example.
> >
> > For example the main title gets bigger and bolder.
> >
> > If I return to the older, it works ok.
> >
> > I'm building with Maven, so it seems ok to left as before, while in
> > asconfigc, I think it will be ok not having version in the name since
> > SDK doesn't have
> >
> > make that sense?
> >
> > Thanks
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-03-01 Thread Carlos Rovira
It's very strange, since yesterday I was comparing files from a working
project in the same folder and the new one, and I changed locally to be
identical. One works, but the other does not...so at this point I need to
wipe, or start from scratch, to see if I localize where the problem is.

don't worry, I'll get over this and come back then.

El lun, 1 mar 2021 a las 13:32, Christofer Dutz ()
escribió:

> If you are referring to the "asconfigc" start script ... this is one of
> the files that has diverged between the Ant and the Maven distribution.
> Actuall allmost all scripts have diverged a bit.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Montag, 1. März 2021 13:30
> An: Apache Royale Development 
> Betreff: Re: Library compilation with asconfigc produces an error
>
> Hi MJ,
>
> It's strange, since crux is not working for me in that project. maybe
> something is stale...don't know. I'll try to wipe it all and build from
> scratch. If not I'll try to overlay other working example and start from it.
>
> El dom, 28 feb 2021 a las 21:12, Maria Jose Esteve ()
> escribió:
>
> > I have tried your changes in the pom, in one of my work projects and
> > it does not really work.
> > The libraries compile but something strange happens in the Application
> > (which already happened to me with the namespace patch): in the mxml
> > tags where the "currentState" is referred to, they don't work, for
> example:
> >
> >  > hasFooterBar="true"
> > className="mainbg1"
> > className.loggedOut="mainbg2"
> > className.loginSelModulo="mainbg2"
> > className.loginSelPerfil="mainbg2">
> >
> > This had worked very well for us so far.
> > Or this other:
> >
> >  > visible.loginSelModulo="false"
> > visible.loginSelPerfil="false"/>
> >
> > Crux works well for me.
> > What is not working for you?
> >
> > Hiedra
> >
> > -Mensaje original-
> > De: Carlos Rovira  Enviado el: domingo, 28 de
> > febrero de 2021 20:08
> > Para: Apache Royale Development 
> > Asunto: Re: Library compilation with asconfigc produces an error
> >
> > Yes, it compiles, but something is wrong with Crux and I still can get
> > it working right.
> > So I think the example is not ok. I'm comparing with other working
> > examples but still can't find what's going wrong, all seems ok
> >
> > El dom, 28 feb 2021 a las 18:39, Maria Jose Esteve
> > ()
> > escribió:
> >
> > > Hi Carlos, your changes in the pom work for me, I have been able to
> > > compile SimpleLib successfully.
> > > Now I'm going to try to access ServiceConfig from AppWithLib.mxml
> > > and I'll tell you.
> > >
> > > Hiedra
> > >
> > > -Mensaje original-
> > > De: Carlos Rovira  Enviado el: domingo, 28
> > > de febrero de 2021 17:07
> > > Para: Apache Royale Development 
> > > Asunto: Re: Library compilation with asconfigc produces an error
> > >
> > > Hi Maria Jose,
> > >
> > > I finally fixed the issue and I'm able to compile fx:Array in library.
> > > I committed the fix in SampleLib.
> > > I think it is just a compiler configuration problem. Please take a
> > > look at my changes and let me know what you think
> > >
> > >
> > >
> > > El dom, 28 feb 2021 a las 16:37, Carlos Rovira
> > > ()
> > > escribió:
> > >
> > > > Hi  Maria Jose,
> > > >
> > > > I can reproduce the bean:crux problem I'll try to see what's going
> > > > on, since that's not really the problem we want to solve I'll see
> > > > If I can fix it to go to the real one (fx:Array)
> > > >
> > > > Thanks!
> > > >
> > > > El dom, 28 feb 2021 a las 2:04, Maria Jose Esteve
> > > > ()
> > > > escribió:
> > > >
> > > >> Hi, I have made a small change in the library: add crux:
> > > >> BeanProvider and compilation with Maven fails:
> > > >>
> > > >>
> > >
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\examples\crux\SampleLib\src\main\royale\org\apache\royale\examples\config\ServiceConfig.mxml(19):
> > > >> col: 1 This tag could not be resolved to an ActionScript class.
> > > >> It will be ignored.
> > > >>
> > > >>  > > >>

Re: About removing ${royale.framework.version} in pom.xml to refer to MXRoyale CSS in todomvc example

2021-03-01 Thread Carlos Rovira
Hi Chris,

this commit: "- Updated the config.xmls to refer to the SWCs with the
updated Ant-names"

(sha: 70a06fb43714ddc937b985b44595e297b5cd6376)

has the changes I refer. There's some changes in pom.xml examples, but I
think since are poms and not distribution are ok



El dom, 28 feb 2021 a las 21:10, Christofer Dutz ()
escribió:

> Hi Carlos,
>
> I can't even recall having changed anything in any of the pom.xml files.
> I'm currently working on the deistribution.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Sonntag, 28. Februar 2021 20:19
> An: Apache Royale Development 
> Betreff: About removing ${royale.framework.version} in pom.xml to refer to
> MXRoyale CSS in todomvc example
>
> Hi Chris,
>
> this change in pom.xml:
>
>
> -compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css;
>
> to this:
>
> -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;
>
> is not working right.
>
> If I build todomvc-jewel-crux (for example) with the later, I get MXRoyale
> styles mixed in the example.
>
> For example the main title gets bigger and bolder.
>
> If I return to the older, it works ok.
>
> I'm building with Maven, so it seems ok to left as before, while in
> asconfigc, I think it will be ok not having version in the name since SDK
> doesn't have
>
> make that sense?
>
> Thanks
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-03-01 Thread Carlos Rovira
Hi MJ,

It's strange, since crux is not working for me in that project. maybe
something is stale...don't know. I'll try to wipe it all and build from
scratch. If not I'll try to overlay other working example and start from it.

El dom, 28 feb 2021 a las 21:12, Maria Jose Esteve ()
escribió:

> I have tried your changes in the pom, in one of my work projects and it
> does not really work.
> The libraries compile but something strange happens in the Application
> (which already happened to me with the namespace patch): in the mxml tags
> where the "currentState" is referred to, they don't work, for example:
>
>  hasFooterBar="true"
> className="mainbg1"
> className.loggedOut="mainbg2"
> className.loginSelModulo="mainbg2"
> className.loginSelPerfil="mainbg2">
>
> This had worked very well for us so far.
> Or this other:
>
>  visible.loginSelModulo="false"
> visible.loginSelPerfil="false"/>
>
> Crux works well for me.
> What is not working for you?
>
> Hiedra
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: domingo, 28 de febrero de 2021 20:08
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
> Yes, it compiles, but something is wrong with Crux and I still can get it
> working right.
> So I think the example is not ok. I'm comparing with other working
> examples but still can't find what's going wrong, all seems ok
>
> El dom, 28 feb 2021 a las 18:39, Maria Jose Esteve ()
> escribió:
>
> > Hi Carlos, your changes in the pom work for me, I have been able to
> > compile SimpleLib successfully.
> > Now I'm going to try to access ServiceConfig from AppWithLib.mxml and
> > I'll tell you.
> >
> > Hiedra
> >
> > -Mensaje original-
> > De: Carlos Rovira  Enviado el: domingo, 28 de
> > febrero de 2021 17:07
> > Para: Apache Royale Development 
> > Asunto: Re: Library compilation with asconfigc produces an error
> >
> > Hi Maria Jose,
> >
> > I finally fixed the issue and I'm able to compile fx:Array in library.
> > I committed the fix in SampleLib.
> > I think it is just a compiler configuration problem. Please take a
> > look at my changes and let me know what you think
> >
> >
> >
> > El dom, 28 feb 2021 a las 16:37, Carlos Rovira
> > ()
> > escribió:
> >
> > > Hi  Maria Jose,
> > >
> > > I can reproduce the bean:crux problem I'll try to see what's going
> > > on, since that's not really the problem we want to solve I'll see If
> > > I can fix it to go to the real one (fx:Array)
> > >
> > > Thanks!
> > >
> > > El dom, 28 feb 2021 a las 2:04, Maria Jose Esteve
> > > ()
> > > escribió:
> > >
> > >> Hi, I have made a small change in the library: add crux:
> > >> BeanProvider and compilation with Maven fails:
> > >>
> > >>
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\examples\crux\SampleLib\src\main\royale\org\apache\royale\examples\config\ServiceConfig.mxml(19):
> > >> col: 1 This tag could not be resolved to an ActionScript class. It
> > >> will be ignored.
> > >>
> > >>  > >> ^
> > >>
> > >> I have created a debug document [1] where the development
> > >> environment, the changes and the most relevant results of the
> > >> compilations [1] are detailed.
> > >> I have not done a PR, but you can see the changes of my fork [2]
> > >>
> > >> [1]
> > >> https://docs.google.com/document/d/1P8V9Qu0rwcusBVlIMWvjmCSlerIxGgi
> > >> Uq
> > >> 9zWZpvz3Zw/edit?usp=sharing [2]
> > >> https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib
> > >>
> > >> I'm going to check the dependencies and keep document [1] updated
> > >> so you can see the progress.
> > >>
> > >> Hiedra.
> > >>
> > >> -Mensaje original-
> > >> De: Carlos Rovira  Enviado el: sábado, 27
> > >> de febrero de 2021 18:00
> > >> Para: Apache Royale Development 
> > >> Asunto: Re: Library compilation with asconfigc produces an error
> > >>
> > >> Hi Maria Jose,
> > >>
> > >> I added to examples/crux two projects:
> > >>
> > >> - AppWithLib
> > >> - SampleLib
> > >>
> > >> So we can reproduce prob

Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-01 Thread Carlos Rovira
Hi Chris,

Awesome!, thanks for working on this. I think that will be a great
improvement!

El lun, 1 mar 2021 a las 12:10, Christofer Dutz ()
escribió:

> Hi Carlos,
>
> So in the branch I'm currently working on changing the distribution build
> to ensure the config files are created based on the templates in the
> asjs/frameworks directory. It is my goal that we have only one place to
> update as probably in most cases the Maven version would be forgotten and
> the content would diverge (I saw the config files and bin scripts in the
> maven distribution already greatly diverged) ... as soon as I'm done with
> the changes, it should be in-sync automatically.
>
> It's quite a bit of work as it effectively is like creating the maven
> distribution from scratch and trying to find out what the ANT build does.
>
> I hope I'll be finished soon, but I have to continue this in my free time
> (I already invested allmost the entire last weekend).
>
> Also I'll try to move things to the same location as with the ANT build
> and hopefully include the sources so debugging should work.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Montag, 1. März 2021 10:13
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> Thanks Chris, I don't think templates should be in distribution SDK. I
> think only generated ones. In ANT since it's overlying the repo we can find
> both, but an IDE using the SDK should not need it, just the generated
> versions.
>
> El dom, 28 feb 2021 a las 22:08, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> escribió:
>
> > Hi Carlos,
> >
> > no ... the templates weren't created by me ... they always were in the
> > frameworks dir ... I think the ANT build takes the templates and
> > inserts variables to generate the real versions. I think I'll try to
> > use these to do the same with maven ... unfortunately the files have
> > gotten pretty out of sync.
> >
> > But can anyone here tell me if the "template" files need to be in the
> > distribution? Are they needed for anything? Cause I would just add the
> > generated versions.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Carlos Rovira 
> > Gesendet: Sonntag, 28. Februar 2021 16:53
> > An: Apache Royale Development 
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Hi Chris,
> >
> > >
> > >
> > > I do have some questions:
> > > - the "framework" directory contains a log of tupples:
> > > xyz-config-template.xml and xyz-config.xml: Where does the
> > > xyz-config.xml get generated from the template in the ANT build? (I
> > > assume it generates them from the templates as part of the build)...
> > > could we possibly omit the "templates"? It seems as if they are only
> > > needed to generate the configs for a given set of configured
> > > properties. If that's the case, we don't need them in the distribution.
> > >
> >
> > I always though the template was created by you when you created the
> > maven build for Royale. So if you think you can remove templates, I
> > think it would be good to reduce files if they are not used at all.
> >
> >
> > > - The root element of the flex-config.xml was named "roayale-config"
> > > in the Maven distribution and "flex-config" in the Ant distribution
> > > and it contained a reference to the mxml-2009-manifest.xml. Also did
> > > the Ant version contain a lot more implicit imports as well as a
> > > fxg-base-class element
> > >
> > >
> > maybe this could be the problem we're facing with fx:Array
> >
> >
> > > So far the changes I found ... I updated the distribution in the
> > > "features/distribution-allignment" branch.
> > >
> >
> > Great!
> >
> >
> > >
> > > But I guess I'll keep working on this and try to get the maven
> > > distribution to have the same directory structure as the Ant one
> > > (but excluding all the unnecessary stuff).
> > >
> >
> > Chris, let us know when is safe to test, and I'll do a try.
> >
> > Thanks for working on this!
> >
> >
> > >
> > > Chris
> > >
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Christofer Dutz 
> > > Gesendet: Sonntag, 28. Februar 2021 12:28
> > > An: dev@royale.apac

Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-03-01 Thread Carlos Rovira
Hi Chris,

Thanks Chris, I don't think templates should be in distribution SDK. I
think only generated ones. In ANT since it's overlying the repo we can find
both, but an IDE using the SDK should not need it, just the generated
versions.

El dom, 28 feb 2021 a las 22:08, Christofer Dutz ()
escribió:

> Hi Carlos,
>
> no ... the templates weren't created by me ... they always were in the
> frameworks dir ... I think the ANT build takes the templates and inserts
> variables to generate the real versions. I think I'll try to use these to
> do the same with maven ... unfortunately the files have gotten pretty out
> of sync.
>
> But can anyone here tell me if the "template" files need to be in the
> distribution? Are they needed for anything? Cause I would just add the
> generated versions.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Sonntag, 28. Februar 2021 16:53
> An: Apache Royale Development 
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi Chris,
>
> >
> >
> > I do have some questions:
> > - the "framework" directory contains a log of tupples:
> > xyz-config-template.xml and xyz-config.xml: Where does the
> > xyz-config.xml get generated from the template in the ANT build? (I
> > assume it generates them from the templates as part of the build)...
> > could we possibly omit the "templates"? It seems as if they are only
> > needed to generate the configs for a given set of configured
> > properties. If that's the case, we don't need them in the distribution.
> >
>
> I always though the template was created by you when you created the maven
> build for Royale. So if you think you can remove templates, I think it
> would be good to reduce files if they are not used at all.
>
>
> > - The root element of the flex-config.xml was named "roayale-config"
> > in the Maven distribution and "flex-config" in the Ant distribution
> > and it contained a reference to the mxml-2009-manifest.xml. Also did
> > the Ant version contain a lot more implicit imports as well as a
> > fxg-base-class element
> >
> >
> maybe this could be the problem we're facing with fx:Array
>
>
> > So far the changes I found ... I updated the distribution in the
> > "features/distribution-allignment" branch.
> >
>
> Great!
>
>
> >
> > But I guess I'll keep working on this and try to get the maven
> > distribution to have the same directory structure as the Ant one (but
> > excluding all the unnecessary stuff).
> >
>
> Chris, let us know when is safe to test, and I'll do a try.
>
> Thanks for working on this!
>
>
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Sonntag, 28. Februar 2021 12:28
> > An: dev@royale.apache.org
> > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Ok ... regarding the Array problem ...
> >
> > I have found the "Array.as" file in "compiler-externc" and
> > "royale-typedefs/js" ... both are identical ...
> > I'm not quite sure which one is used (I'm a bit rusty regarding how
> > all of these externs and stuff work together)
> >
> > I did check and the royale-config.xml lists the mxml-2009-manifest.xml
> > (in both the non-swf as well as the with-swf version) so not quite
> > sure why adding that to the configuration changes anything.
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Sonntag, 28. Februar 2021 12:08
> > An: dev@royale.apache.org
> > Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Hi all,
> >
> > so thankfully Carlos re-sent me this link:
> > flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master *
> > apache/flex-sdk (github.com)<
> > https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README
> > _integration_with_Adobe_FlashBuilder.txt
> > >
> >
> > So it seems as if we don't have a
> > ide/flashbuilder/flashbuilder-config.xml
> > with a "express-install-swf" element in it (we don't have the entire
> > file) ... do we need this?
> >
> > Besides that, it seems all is setup as expected.
> >
> > Will continue looking into other things that could be wrong.
> >
> > Chris
> >
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


About removing ${royale.framework.version} in pom.xml to refer to MXRoyale CSS in todomvc example

2021-02-28 Thread Carlos Rovira
Hi Chris,

this change in pom.xml:

-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css;

to this:

-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css;

is not working right.

If I build todomvc-jewel-crux (for example) with the later, I get MXRoyale
styles mixed in the example.

For example the main title gets bigger and bolder.

If I return to the older, it works ok.

I'm building with Maven, so it seems ok to left as before, while in
asconfigc, I think it will be ok not having version in the name since SDK
doesn't have

make that sense?

Thanks

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-02-28 Thread Carlos Rovira
Yes, it compiles, but something is wrong with Crux and I still can get it
working right.
So I think the example is not ok. I'm comparing with other working examples
but still can't find what's going wrong, all seems ok

El dom, 28 feb 2021 a las 18:39, Maria Jose Esteve ()
escribió:

> Hi Carlos, your changes in the pom work for me, I have been able to
> compile SimpleLib successfully.
> Now I'm going to try to access ServiceConfig from AppWithLib.mxml and I'll
> tell you.
>
> Hiedra
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: domingo, 28 de febrero de 2021 17:07
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
> Hi Maria Jose,
>
> I finally fixed the issue and I'm able to compile fx:Array in library. I
> committed the fix in SampleLib.
> I think it is just a compiler configuration problem. Please take a look at
> my changes and let me know what you think
>
>
>
> El dom, 28 feb 2021 a las 16:37, Carlos Rovira ()
> escribió:
>
> > Hi  Maria Jose,
> >
> > I can reproduce the bean:crux problem I'll try to see what's going on,
> > since that's not really the problem we want to solve I'll see If I can
> > fix it to go to the real one (fx:Array)
> >
> > Thanks!
> >
> > El dom, 28 feb 2021 a las 2:04, Maria Jose Esteve
> > ()
> > escribió:
> >
> >> Hi, I have made a small change in the library: add crux: BeanProvider
> >> and compilation with Maven fails:
> >>
> >>
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\examples\crux\SampleLib\src\main\royale\org\apache\royale\examples\config\ServiceConfig.mxml(19):
> >> col: 1 This tag could not be resolved to an ActionScript class. It
> >> will be ignored.
> >>
> >>  >> ^
> >>
> >> I have created a debug document [1] where the development
> >> environment, the changes and the most relevant results of the
> >> compilations [1] are detailed.
> >> I have not done a PR, but you can see the changes of my fork [2]
> >>
> >> [1]
> >> https://docs.google.com/document/d/1P8V9Qu0rwcusBVlIMWvjmCSlerIxGgiUq
> >> 9zWZpvz3Zw/edit?usp=sharing [2]
> >> https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib
> >>
> >> I'm going to check the dependencies and keep document [1] updated so
> >> you can see the progress.
> >>
> >> Hiedra.
> >>
> >> -Mensaje original-
> >> De: Carlos Rovira  Enviado el: sábado, 27 de
> >> febrero de 2021 18:00
> >> Para: Apache Royale Development 
> >> Asunto: Re: Library compilation with asconfigc produces an error
> >>
> >> Hi Maria Jose,
> >>
> >> I added to examples/crux two projects:
> >>
> >> - AppWithLib
> >> - SampleLib
> >>
> >> So we can reproduce problems in libraries like the one with fx:Array
> >>
> >> Right now SampleLib doesn't have that code to make it fail. So if you
> >> want you can add it and make a PR to make it fail.
> >> If not I'll continue other day and will add it
> >>
> >> I'll stop for today
> >>
> >> Thanks
> >>
> >>
> >>
> >> El vie, 26 feb 2021 a las 18:08, Maria Jose Esteve
> >> ()
> >> escribió:
> >>
> >> > Ok, "I'm ready" for whatever you need me (Friday afternoon I have
> >> > free at
> >> > work)
> >> > I wait for you to tell me something.
> >> >
> >> > Hiedra.
> >> >
> >> > -Mensaje original-
> >> > De: Carlos Rovira  Enviado el: viernes, 26
> >> > de febrero de 2021 16:26
> >> > Para: Apache Royale Development 
> >> > Asunto: Re: Library compilation with asconfigc produces an error
> >> >
> >> > Hi Maria Jose,
> >> >
> >> > As I have something working I'll report so you can try it too from
> >> windows.
> >> > I expect to have something very SO agnostic, since the purpose is
> >> > to check things in a library and see all is working fine. Another
> >> > thing will be to try to run the example and see it works too.
> >> >
> >> > thanks!
> >> >
> >> >
> >> > El vie, 26 feb 2021 a las 0:02, Maria Jose Esteve
> >> > ()
> >> > escribió:
> >> >
> >> > > Hi Carlos,
> >> > > Thanks for your interest. I can help you with something? 

Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-02-28 Thread Carlos Rovira
ruar 2021 12:28
> An: dev@royale.apache.org
> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Ok ... regarding the Array problem ...
>
> I have found the "Array.as" file in "compiler-externc" and
> "royale-typedefs/js" ... both are identical ...
> I'm not quite sure which one is used (I'm a bit rusty regarding how all of
> these externs and stuff work together)
>
> I did check and the royale-config.xml lists the mxml-2009-manifest.xml (in
> both the non-swf as well as the with-swf version) so not quite sure why
> adding that to the configuration changes anything.
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Sonntag, 28. Februar 2021 12:08
> An: dev@royale.apache.org
> Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi all,
>
> so thankfully Carlos re-sent me this link:
> flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master *
> apache/flex-sdk (github.com)<
> https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt
> >
>
> So it seems as if we don't have a ide/flashbuilder/flashbuilder-config.xml
> with a "express-install-swf" element in it (we don't have the entire file)
> ... do we need this?
>
> Besides that, it seems all is setup as expected.
>
> Will continue looking into other things that could be wrong.
>
> Chris
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-02-28 Thread Carlos Rovira
Hi Maria Jose,

I finally fixed the issue and I'm able to compile fx:Array in library. I
committed the fix in SampleLib.
I think it is just a compiler configuration problem. Please take a look at
my changes and let me know what you think



El dom, 28 feb 2021 a las 16:37, Carlos Rovira ()
escribió:

> Hi  Maria Jose,
>
> I can reproduce the bean:crux problem I'll try to see what's going on,
> since that's not really the problem we want to solve
> I'll see If I can fix it to go to the real one (fx:Array)
>
> Thanks!
>
> El dom, 28 feb 2021 a las 2:04, Maria Jose Esteve ()
> escribió:
>
>> Hi, I have made a small change in the library: add crux: BeanProvider and
>> compilation with Maven fails:
>>
>> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\examples\crux\SampleLib\src\main\royale\org\apache\royale\examples\config\ServiceConfig.mxml(19):
>> col: 1 This tag could not be resolved to an ActionScript class. It will be
>> ignored.
>>
>> > ^
>>
>> I have created a debug document [1] where the development environment,
>> the changes and the most relevant results of the compilations [1] are
>> detailed.
>> I have not done a PR, but you can see the changes of my fork [2]
>>
>> [1]
>> https://docs.google.com/document/d/1P8V9Qu0rwcusBVlIMWvjmCSlerIxGgiUq9zWZpvz3Zw/edit?usp=sharing
>> [2] https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib
>>
>> I'm going to check the dependencies and keep document [1] updated so you
>> can see the progress.
>>
>> Hiedra.
>>
>> -Mensaje original-
>> De: Carlos Rovira 
>> Enviado el: sábado, 27 de febrero de 2021 18:00
>> Para: Apache Royale Development 
>> Asunto: Re: Library compilation with asconfigc produces an error
>>
>> Hi Maria Jose,
>>
>> I added to examples/crux two projects:
>>
>> - AppWithLib
>> - SampleLib
>>
>> So we can reproduce problems in libraries like the one with fx:Array
>>
>> Right now SampleLib doesn't have that code to make it fail. So if you
>> want you can add it and make a PR to make it fail.
>> If not I'll continue other day and will add it
>>
>> I'll stop for today
>>
>> Thanks
>>
>>
>>
>> El vie, 26 feb 2021 a las 18:08, Maria Jose Esteve ()
>> escribió:
>>
>> > Ok, "I'm ready" for whatever you need me (Friday afternoon I have free
>> > at
>> > work)
>> > I wait for you to tell me something.
>> >
>> > Hiedra.
>> >
>> > -Mensaje original-
>> > De: Carlos Rovira  Enviado el: viernes, 26 de
>> > febrero de 2021 16:26
>> > Para: Apache Royale Development 
>> > Asunto: Re: Library compilation with asconfigc produces an error
>> >
>> > Hi Maria Jose,
>> >
>> > As I have something working I'll report so you can try it too from
>> windows.
>> > I expect to have something very SO agnostic, since the purpose is to
>> > check things in a library and see all is working fine. Another thing
>> > will be to try to run the example and see it works too.
>> >
>> > thanks!
>> >
>> >
>> > El vie, 26 feb 2021 a las 0:02, Maria Jose Esteve
>> > ()
>> > escribió:
>> >
>> > > Hi Carlos,
>> > > Thanks for your interest. I can help you with something? I think you
>> > > work with Mac and there are some times that the behavior is not the
>> > > same in Windows, I don't know if it could help you with the tests ...
>> > you tell me.
>> > >
>> > > Hiedra.
>> > >
>> > > -Mensaje original-
>> > > De: Carlos Rovira  Enviado el: jueves, 25
>> > > de febrero de 2021 19:53
>> > > Para: Apache Royale Development 
>> > > Asunto: Re: Library compilation with asconfigc produces an error
>> > >
>> > > Hi Maria Jose,
>> > >
>> > > I plan to create a project example layout with an app and a library
>> > > created with the new maven archetypes I did some months ago and try
>> > > to add this.
>> > > Then look for how to fix the distribution. Hope I can do that this
>> > > weekend if I hopefully have the time. Having that example would be
>> > > important to test thing in a library since we don't have examples in
>> > > the repo with that layout.
>> > >
>> > > El mié, 24 feb 2021 a las 2:12, Maria Jose Esteve
>> > > ()
>> > > escribió:
&

Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned

2021-02-28 Thread Carlos Rovira
Hi Chris,

>
>
> I do have some questions:
> - the "framework" directory contains a log of tupples:
> xyz-config-template.xml and xyz-config.xml: Where does the xyz-config.xml
> get generated from the template in the ANT build? (I assume it generates
> them from the templates as part of the build)... could we possibly omit the
> "templates"? It seems as if they are only needed to generate the configs
> for a given set of configured properties. If that's the case, we don't need
> them in the distribution.
>

I always though the template was created by you when you created the maven
build for Royale. So if you think you can remove templates, I think it
would be good to reduce files if they are not used at all.


> - The root element of the flex-config.xml was named "roayale-config" in
> the Maven distribution and "flex-config" in the Ant distribution and it
> contained a reference to the mxml-2009-manifest.xml. Also did the Ant
> version contain a lot more implicit imports as well as a fxg-base-class
> element
>
>
maybe this could be the problem we're facing with fx:Array


> So far the changes I found ... I updated the distribution in the
> "features/distribution-allignment" branch.
>

Great!


>
> But I guess I'll keep working on this and try to get the maven
> distribution to have the same directory structure as the Ant one (but
> excluding all the unnecessary stuff).
>

Chris, let us know when is safe to test, and I'll do a try.

Thanks for working on this!


>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Sonntag, 28. Februar 2021 12:28
> An: dev@royale.apache.org
> Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Ok ... regarding the Array problem ...
>
> I have found the "Array.as" file in "compiler-externc" and
> "royale-typedefs/js" ... both are identical ...
> I'm not quite sure which one is used (I'm a bit rusty regarding how all of
> these externs and stuff work together)
>
> I did check and the royale-config.xml lists the mxml-2009-manifest.xml (in
> both the non-swf as well as the with-swf version) so not quite sure why
> adding that to the configuration changes anything.
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Sonntag, 28. Februar 2021 12:08
> An: dev@royale.apache.org
> Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Hi all,
>
> so thankfully Carlos re-sent me this link:
> flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master *
> apache/flex-sdk (github.com)<
> https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt
> >
>
> So it seems as if we don't have a ide/flashbuilder/flashbuilder-config.xml
> with a "express-install-swf" element in it (we don't have the entire file)
> ... do we need this?
>
> Besides that, it seems all is setup as expected.
>
> Will continue looking into other things that could be wrong.
>
> Chris
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Integration-Test failures in the compiler module

2021-02-28 Thread Carlos Rovira
Hi Chris,

I built this morning all successfully, even all compiler stuff.
If you are getting wrong results I just can think of some bad setup or
something affecting.

El dom, 28 feb 2021 a las 14:14, Christofer Dutz ()
escribió:

> Hi all,
>
> as I'm currently working on the maven distribution, I just wanted to
> re-build the compiler with all changes and I'm getting errors in the
> compiler module:
>
> [ERROR] Failures:
> [ERROR]   MXMLClassNodeTests.MXMLClassNode_empty1:56 getValue() shouldn't
> be getting called on a non-expression MXMLClassNode
> [ERROR]   MXMLClassNodeTests.MXMLClassNode_empty2:68 getValue() shouldn't
> be getting called on a non-expression MXMLClassNode
> [ERROR]   MXMLClassNodeTests.MXMLClassNode_empty3:80 getValue() shouldn't
> be getting called on a non-expression MXMLClassNode
> [ERROR]   MXMLFunctionNodeTests.MXMLFunctionNode_empty1:57 getValue()
> shouldn't be getting called on a non-expression MXMLFunctionNode
> [ERROR]   MXMLFunctionNodeTests.MXMLFunctionNode_empty2:69 getValue()
> shouldn't be getting called on a non-expression MXMLFunctionNode
> [ERROR]   MXMLFunctionNodeTests.MXMLFunctionNode_empty3:81 getValue()
> shouldn't be getting called on a non-expression MXMLFunctionNode
>
> Any ideas what's wrong?
>
> Chris
>
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-02-28 Thread Carlos Rovira
Hi  Maria Jose,

I can reproduce the bean:crux problem I'll try to see what's going on,
since that's not really the problem we want to solve
I'll see If I can fix it to go to the real one (fx:Array)

Thanks!

El dom, 28 feb 2021 a las 2:04, Maria Jose Esteve ()
escribió:

> Hi, I have made a small change in the library: add crux: BeanProvider and
> compilation with Maven fails:
>
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs-fork\examples\crux\SampleLib\src\main\royale\org\apache\royale\examples\config\ServiceConfig.mxml(19):
> col: 1 This tag could not be resolved to an ActionScript class. It will be
> ignored.
>
>  ^
>
> I have created a debug document [1] where the development environment, the
> changes and the most relevant results of the compilations [1] are detailed.
> I have not done a PR, but you can see the changes of my fork [2]
>
> [1]
> https://docs.google.com/document/d/1P8V9Qu0rwcusBVlIMWvjmCSlerIxGgiUq9zWZpvz3Zw/edit?usp=sharing
> [2] https://github.com/mjesteve/royale-asjs/tree/Example_AppWithLib
>
> I'm going to check the dependencies and keep document [1] updated so you
> can see the progress.
>
> Hiedra.
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: sábado, 27 de febrero de 2021 18:00
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
> Hi Maria Jose,
>
> I added to examples/crux two projects:
>
> - AppWithLib
> - SampleLib
>
> So we can reproduce problems in libraries like the one with fx:Array
>
> Right now SampleLib doesn't have that code to make it fail. So if you want
> you can add it and make a PR to make it fail.
> If not I'll continue other day and will add it
>
> I'll stop for today
>
> Thanks
>
>
>
> El vie, 26 feb 2021 a las 18:08, Maria Jose Esteve ()
> escribió:
>
> > Ok, "I'm ready" for whatever you need me (Friday afternoon I have free
> > at
> > work)
> > I wait for you to tell me something.
> >
> > Hiedra.
> >
> > -Mensaje original-
> > De: Carlos Rovira  Enviado el: viernes, 26 de
> > febrero de 2021 16:26
> > Para: Apache Royale Development 
> > Asunto: Re: Library compilation with asconfigc produces an error
> >
> > Hi Maria Jose,
> >
> > As I have something working I'll report so you can try it too from
> windows.
> > I expect to have something very SO agnostic, since the purpose is to
> > check things in a library and see all is working fine. Another thing
> > will be to try to run the example and see it works too.
> >
> > thanks!
> >
> >
> > El vie, 26 feb 2021 a las 0:02, Maria Jose Esteve
> > ()
> > escribió:
> >
> > > Hi Carlos,
> > > Thanks for your interest. I can help you with something? I think you
> > > work with Mac and there are some times that the behavior is not the
> > > same in Windows, I don't know if it could help you with the tests ...
> > you tell me.
> > >
> > > Hiedra.
> > >
> > > -Mensaje original-
> > > De: Carlos Rovira  Enviado el: jueves, 25
> > > de febrero de 2021 19:53
> > > Para: Apache Royale Development 
> > > Asunto: Re: Library compilation with asconfigc produces an error
> > >
> > > Hi Maria Jose,
> > >
> > > I plan to create a project example layout with an app and a library
> > > created with the new maven archetypes I did some months ago and try
> > > to add this.
> > > Then look for how to fix the distribution. Hope I can do that this
> > > weekend if I hopefully have the time. Having that example would be
> > > important to test thing in a library since we don't have examples in
> > > the repo with that layout.
> > >
> > > El mié, 24 feb 2021 a las 2:12, Maria Jose Esteve
> > > ()
> > > escribió:
> > >
> > > > Hi, I got it, I already compile the libraries that use fx: Array.
> > > > Josh gave me the hint ...
> > > > In the pom, I have added the namespace, inside
> > > "additionalCompilerOptions":
> > > >
> > > > -compiler.js-namespaces.namespace+=
> > > > http://ns.adobe.com/mxml/2009,${env.ROYALE_HOME}/frameworks/mxml-2
> > > > 00
> > > > 9-
> > > > manifest.xml
> > > > ;
> > > >
> > > > Now I need to understand why I need this now and not 2 weeks ago ...
> > > > "
> > > > Do any of you make sense?
> > > >
> > > > Thank you all for your time.
> > &

Re: AppWithLib example

2021-02-27 Thread Carlos Rovira
Hi,

I added a new archetype to create jewel libraries. You can use with:

mvn archetype:generate -DarchetypeGroupId=org.apache.royale.framework
-DarchetypeArtifactId=royale-jewel-library-archetype
-DarchetypeVersion=0.9.8-SNAPSHOT

Then use data like:

Define value for property 'groupId': org.apache.royale.examples

Define value for property 'artifactId': SampleLib

Define value for property 'version' 1.0-SNAPSHOT: : 0.9.8-SNAPSHOT

Define value for property 'package' org.apache.royale.examples: :

Define value for property 'artifactIdLowerCase' samplelib: :

This way I created the library in examples/crux/SampleLib

HTH

Carlos




El sáb, 27 feb 2021 a las 12:22, Carlos Rovira ()
escribió:

> Hi,
>
> I added to "examples/jewel/" the example "AppWithLib". Still need to add
> the lib part.
>
> I generated with maven archetype this way:
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.royale.framework
> -DarchetypeArtifactId=royale-jewel-application-archetype
> -DarchetypeVersion=0.9.8-SNAPSHOT -Dapplication=AppWithLib
> -DincludeCrux=true
>
> then this used this data:
>
> Define value for property 'groupId': org.apache.royale.examples
>
> Define value for property 'artifactId': AppWithLib
>
> Define value for property 'version' 1.0-SNAPSHOT: : 0.9.8-SNAPSHOT
>
> Define value for property 'package' org.apache.royale.examples: :
>
> This is building fine with:
>
> - Maven
> - VSCode with AS3
>
> Can someone using Moonshine try it and see if it build ok. If not please
> commit the fix to "AppWithLib.mxml.as3proj" (or tell me the changes), so I
> can fix the archetype and make Moonshine work ok with it too.
>
> Also adding the build.xml to build with ANT will be good so I can add it
> as well to the archetype.
>
> I'm going with the library part
>
> Thanks
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-02-27 Thread Carlos Rovira
Hi Maria Jose,

I added to examples/crux two projects:

- AppWithLib
- SampleLib

So we can reproduce problems in libraries like the one with fx:Array

Right now SampleLib doesn't have that code to make it fail. So if you want
you can add it and make a PR to make it fail.
If not I'll continue other day and will add it

I'll stop for today

Thanks



El vie, 26 feb 2021 a las 18:08, Maria Jose Esteve ()
escribió:

> Ok, "I'm ready" for whatever you need me (Friday afternoon I have free at
> work)
> I wait for you to tell me something.
>
> Hiedra.
>
> -----Mensaje original-
> De: Carlos Rovira 
> Enviado el: viernes, 26 de febrero de 2021 16:26
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
> Hi Maria Jose,
>
> As I have something working I'll report so you can try it too from windows.
> I expect to have something very SO agnostic, since the purpose is to check
> things in a library and see all is working fine. Another thing will be to
> try to run the example and see it works too.
>
> thanks!
>
>
> El vie, 26 feb 2021 a las 0:02, Maria Jose Esteve ()
> escribió:
>
> > Hi Carlos,
> > Thanks for your interest. I can help you with something? I think you
> > work with Mac and there are some times that the behavior is not the
> > same in Windows, I don't know if it could help you with the tests ...
> you tell me.
> >
> > Hiedra.
> >
> > -Mensaje original-
> > De: Carlos Rovira  Enviado el: jueves, 25 de
> > febrero de 2021 19:53
> > Para: Apache Royale Development 
> > Asunto: Re: Library compilation with asconfigc produces an error
> >
> > Hi Maria Jose,
> >
> > I plan to create a project example layout with an app and a library
> > created with the new maven archetypes I did some months ago and try to
> > add this.
> > Then look for how to fix the distribution. Hope I can do that this
> > weekend if I hopefully have the time. Having that example would be
> > important to test thing in a library since we don't have examples in
> > the repo with that layout.
> >
> > El mié, 24 feb 2021 a las 2:12, Maria Jose Esteve
> > ()
> > escribió:
> >
> > > Hi, I got it, I already compile the libraries that use fx: Array.
> > > Josh gave me the hint ...
> > > In the pom, I have added the namespace, inside
> > "additionalCompilerOptions":
> > >
> > > -compiler.js-namespaces.namespace+=
> > > http://ns.adobe.com/mxml/2009,${env.ROYALE_HOME}/frameworks/mxml-200
> > > 9-
> > > manifest.xml
> > > ;
> > >
> > > Now I need to understand why I need this now and not 2 weeks ago ...
> > > "
> > > Do any of you make sense?
> > >
> > > Thank you all for your time.
> > >
> > > Hiedra
> > >
> > > -Mensaje original-
> > > De: Josh Tynjala  Enviado el: martes, 23
> > > de febrero de 2021 18:21
> > > Para: Apache Royale Development 
> > > Asunto: Re: Library compilation with asconfigc produces an error
> > >
> > > I remember seeing an issue a while back where core classes in MXML,
> > > like  or , didn't work its because the
> > > mxml-2009-manifest.xml is not properly referenced anywhere. Does the
> > > Maven distribution reference this manifest in royale-config.xml?
> > >
> > >
> > > https://github.com/apache/royale-asjs/blob/develop/frameworks/mxml-2
> > > 00
> > > 9-manifest.xml
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Tue, Feb 23, 2021 at 1:01 AM Maria Jose Esteve
> > > 
> > > wrote:
> > >
> > > > Hello, let's see if someone can give me a clue ...
> > > > I always compile my app projects and libraries with mvn.
> > > > In the last few days, with all this from the sdk, I am getting a
> > > > very strange error when compiling my libraries ... it does not
> > > > recognize the tag
> > > > "".
> > > > I wanted to do a test: compile with asconfigc but I get a
> > > > different
> > > error:
> > > >
> > > > > Executing task in folder royale-library: asconfigc
> > > > --sdk=D:\Apache\apache-royale-0.9.8-maven <
> > > >
> > > > args:
> > > > +royalelib=D:\Apache\apache-royale-0.9.8-maven\frameworks
> > > > +configname=royale
> > > &

AppWithLib example

2021-02-27 Thread Carlos Rovira
Hi,

I added to "examples/jewel/" the example "AppWithLib". Still need to add
the lib part.

I generated with maven archetype this way:

mvn archetype:generate -DarchetypeGroupId=org.apache.royale.framework
-DarchetypeArtifactId=royale-jewel-application-archetype
-DarchetypeVersion=0.9.8-SNAPSHOT -Dapplication=AppWithLib
-DincludeCrux=true

then this used this data:

Define value for property 'groupId': org.apache.royale.examples

Define value for property 'artifactId': AppWithLib

Define value for property 'version' 1.0-SNAPSHOT: : 0.9.8-SNAPSHOT

Define value for property 'package' org.apache.royale.examples: :

This is building fine with:

- Maven
- VSCode with AS3

Can someone using Moonshine try it and see if it build ok. If not please
commit the fix to "AppWithLib.mxml.as3proj" (or tell me the changes), so I
can fix the archetype and make Moonshine work ok with it too.

Also adding the build.xml to build with ANT will be good so I can add it as
well to the archetype.

I'm going with the library part

Thanks

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-02-26 Thread Carlos Rovira
Hi Maria Jose,

As I have something working I'll report so you can try it too from windows.
I expect to have something very SO agnostic, since the purpose is to check
things in a library and see all is working fine. Another thing will be to
try to run the example and see it works too.

thanks!


El vie, 26 feb 2021 a las 0:02, Maria Jose Esteve ()
escribió:

> Hi Carlos,
> Thanks for your interest. I can help you with something? I think you work
> with Mac and there are some times that the behavior is not the same in
> Windows, I don't know if it could help you with the tests ... you tell me.
>
> Hiedra.
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: jueves, 25 de febrero de 2021 19:53
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
> Hi Maria Jose,
>
> I plan to create a project example layout with an app and a library
> created with the new maven archetypes I did some months ago and try to add
> this.
> Then look for how to fix the distribution. Hope I can do that this weekend
> if I hopefully have the time. Having that example would be important to
> test thing in a library since we don't have examples in the repo with that
> layout.
>
> El mié, 24 feb 2021 a las 2:12, Maria Jose Esteve ()
> escribió:
>
> > Hi, I got it, I already compile the libraries that use fx: Array.
> > Josh gave me the hint ...
> > In the pom, I have added the namespace, inside
> "additionalCompilerOptions":
> >
> > -compiler.js-namespaces.namespace+=
> > http://ns.adobe.com/mxml/2009,${env.ROYALE_HOME}/frameworks/mxml-2009-
> > manifest.xml
> > ;
> >
> > Now I need to understand why I need this now and not 2 weeks ago ...
> > "
> > Do any of you make sense?
> >
> > Thank you all for your time.
> >
> > Hiedra
> >
> > -Mensaje original-
> > De: Josh Tynjala  Enviado el: martes, 23 de
> > febrero de 2021 18:21
> > Para: Apache Royale Development 
> > Asunto: Re: Library compilation with asconfigc produces an error
> >
> > I remember seeing an issue a while back where core classes in MXML,
> > like  or , didn't work its because the
> > mxml-2009-manifest.xml is not properly referenced anywhere. Does the
> > Maven distribution reference this manifest in royale-config.xml?
> >
> >
> > https://github.com/apache/royale-asjs/blob/develop/frameworks/mxml-200
> > 9-manifest.xml
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Tue, Feb 23, 2021 at 1:01 AM Maria Jose Esteve 
> > wrote:
> >
> > > Hello, let's see if someone can give me a clue ...
> > > I always compile my app projects and libraries with mvn.
> > > In the last few days, with all this from the sdk, I am getting a
> > > very strange error when compiling my libraries ... it does not
> > > recognize the tag
> > > "".
> > > I wanted to do a test: compile with asconfigc but I get a different
> > error:
> > >
> > > > Executing task in folder royale-library: asconfigc
> > > --sdk=D:\Apache\apache-royale-0.9.8-maven <
> > >
> > > args:
> > > +royalelib=D:\Apache\apache-royale-0.9.8-maven\frameworks
> > > +configname=royale
> > > --debug=true
> > > --targets=JSRoyale
> > > --source-path+=src/main/royale
> > > --include-namespaces+=library://ns.mjesteve.com/royalecharting/libra
> > > --include-namespaces+ry
> > >
> > > --namespace+=library://ns.mjesteve.com/royalecharting/library,src/ma
> > > --namespace+in /resources/library-manifest.xml
> > > <http://ns.mjesteve.com/royalecharting/library--namespace+=library:/
> > > /n
> > > s.mjesteve.com/royalecharting/library,src/main/resources/library-man
> > > if
> > > est.xml>
> > > --include-classes=LibraryClasses.as
> > > --include-sources+=src/main/royale
> > > --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > --define+=COMPILE::JS,true
> > > --define+=COMPILE::SWF,false
> > > --source-map=true
> > > --output=target/royale-library-1.0-SNAPSHOT-js.swc
> > > -remove-circulars
> > > -js-output-optimization=skipAsCoercions
> > > target:JSRoyale
> > > COMPCJSCRoyale
> > > Could not find source for class LibraryClasses.as.
> > >
> > > This is my asconfig.json file:
> > >
> > >  {
> > > "config

Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-02-26 Thread Carlos Rovira
Awesome Josh!
Thanks for the update! :)

El vie, 26 feb 2021 a las 7:47, Christofer Dutz ()
escribió:

> Wow.. Great news.
>
> For the maven distribution part, I'll be happy to help.
>
> Chris
>
> Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
>
> 
> From: Harbs 
> Sent: Friday, February 26, 2021 7:10:37 AM
> To: Apache Royale Development 
> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> Flash Player in 2021 (Re: How to build from now on?)
>
> Excellent work! Thanks for working on this!
>
> Harbs
>
> > On Feb 26, 2021, at 1:55 AM, Josh Tynjala 
> wrote:
> >
> > Just an update on my progress in February to create an Apache-licensed
> > playerglobal.swc. Last month, I had successfully built the SWC file using
> > the Apache-licensed asdoc XML files that are in the Flex SDK, but I
> hadn't
> > had a chance to see if I could drop it in to replace the official Adobe
> SWC
> > yet. When I finally got a chance to try it this month, my SWC didn't work
> > at first. However, I was able to make some tweaks to the APIs where I
> > discovered that types/parameters were slightly wrong in the docs. I can
> now
> > successfully use the SWC to build the entire Royale framework (including
> > running RoyaleUnit tests), and I can run the compiler's
> > "royale.dependent.tests" integration tests too.
> >
> > I also cleaned up the command line API for playerglobalc to make it work
> > more like other compiler tools, like mxmlc, compc, or externc. After
> > getting that working, I updated the royale-maven-plugin to make it
> possible
> > to build the same SWC using either Maven or the command line.
> >
> > What I still need to do:
> >
> > - Build separately playerglobal.swc and airglobal.swc. AIR-only APIs
> should
> > not appear in playerglobal.swc.
> > - Test the SWC with some non-Royale projects too. Since building the
> Royale
> > framework helped me find some APIs that were slightly wrong in the docs,
> I
> > figure that I should test the SWC with some other projects too. I plan to
> > drop the SWC into the Flex SDK, and test some apps using Flex, Starling,
> > and Feathers. That should cover a wide range of APIs. If they all compile
> > and run, then I think our Apache-licensed replacement will be looking
> > pretty solid.
> > - Finally, I need to figure out how to integrate our new
> > playerglobal.swc/airglobal.swc into the distribution builds. I'd like to
> > allow anyone building the framework to continue to use SWCs from Adobe or
> > Harman, if they'd prefer.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Wed, Jan 20, 2021 at 2:16 PM Josh Tynjala 
> > wrote:
> >
> >> FYI — I just pushed a prototype playerglobal-source-gen project to the
> >> royale-compiler repo. It's a command line app that can generate .as
> files
> >> from the Flex SDK's Apache-licensed asdoc files for playerglobal.swc.
> The
> >> idea is to use these generated .as files to compile our own
> >> playerglobal.swc that we can distribute under the Apache license. If
> Adobe
> >> ever decides to remove playerglobal.swc from their website, we'll have
> our
> >> version available as a backup.
> >>
> >> I've gotten the project far enough along that I can successfully build
> the
> >> generated .as source files into a .swc without any compiler errors.
> >> However, I haven't yet had a chance to check if that .swc can be used
> in an
> >> SDK/distribution instead of the official playerglobal.swc or
> airglobal.swc.
> >> In February, when I have some more time, I'll continue testing all of
> that.
> >> I just wanted to share my current progress so far!
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC <https://bowlerhat.dev>
> >>
> >>
> >> On Tue, Jan 5, 2021 at 1:34 AM Carlos Rovira 
> >> wrote:
> >>
> >>> Hi Josh,
> >>>
> >>> I think that's a very good idea. As less external dependencies we have
> the
> >>> better. And I think that means one thing less to download or manage by
> >>> mavenizer.
> >>>
> >>> Could it be possible that you contribute it?
> >>>
> >>> Thanks
> >>>
> >>>
> >>> El lun, 4 ene 2021 a las 21:53, Josh Tynjala (<
> joshtynj...@bowlerhat.dev
> >>>> )
> >>> escribió:

Re: question about partial views when using Jewel

2021-02-25 Thread Carlos Rovira
Hi Andrew,

I think this form is used multiple times in TDJ:

https://github.com/apache/royale-asjs/blob/develop/examples/jewel/TourDeJewel/src/main/royale/components/FormExample.mxml

for example here:

https://github.com/apache/royale-asjs/blob/develop/examples/jewel/TourDeJewel/src/main/royale/FormsValidationPlayGround.mxml

here:

https://github.com/apache/royale-asjs/blob/3d020f4ddae3c38a81cc3baa351e1732c7543a62/examples/jewel/TourDeJewel/src/main/royale/MainContent.mxml#L286

and here:

https://github.com/apache/royale-asjs/blob/3d020f4ddae3c38a81cc3baa351e1732c7543a62/examples/jewel/TourDeJewel/src/main/royale/WizardPlayGround.mxml#L101


Another could be: "ExampleHeader" in TDJ too:

https://github.com/apache/royale-asjs/blob/develop/examples/jewel/TourDeJewel/src/main/royale/components/ExampleHeader.mxml

used in all TDJ pages as a header to show different info.

HTH



El jue, 25 feb 2021 a las 20:23, Andrew Wetmore ()
escribió:

> So, if that is the case, it would be a matter of creating the component and
> then importing it into wherever Vindra needs it? Is there a good (Jewel)
> example of embedding a component somewhere in an app?
>
> Andrew
>
> On Thu, Feb 25, 2021 at 2:49 PM Carlos Rovira 
> wrote:
>
> > Hi,
> >
> > sos for what I read here a "partial view" for Royale will be just a
> > reusable mxml component, since don't think Vindra's talking about a
> "view"
> > referring to a concrete Jewel View or ResponsiveView, but just some part
> in
> > the application that is working on.
> >
> >
> > El mié, 24 feb 2021 a las 22:04, Maria Jose Esteve ()
> > escribió:
> >
> > > Hi, Josh is on the right track. They are a kind of "templates". And
> > surely
> > > Vrinda comes from the ASP.Net or Razor world.
> > > What I do not know is if she will want a "component" or will she want a
> > > fixed view that is updated according to the model that is connected to
> it
> > > ... she will tell us.
> > >
> > > Hiedra.
> > >
> > > -Mensaje original-
> > > De: Andrew Wetmore 
> > > Enviado el: miércoles, 24 de febrero de 2021 19:29
> > > Para: Apache Royale Development 
> > > Asunto: Re: question about partial views when using Jewel
> > >
> > > Thank you! I have invited Vrinda to join this conversation, rather than
> > me
> > > having to elbow-bend questions and answers back and forth.
> > >
> > > a
> > >
> > > On Wed, Feb 24, 2021 at 2:21 PM Josh Tynjala <
> joshtynj...@bowlerhat.dev>
> > > wrote:
> > >
> > > > When I search for "partial view" on Google, I get a lot of ASP.NET
> > > > results.
> > > > In that context, it seems to be a way to create a reusable view
> > > > component in ASP.NET. So if I'm understanding correctly, in Royale
> > > > terms, Vrinda is looking for documentation about how to create a new
> > > > MXML view and how to add it as a child in other MXML views. Maybe I'm
> > > > wrong, but that seems like a reasonable place to start.
> > > >
> > > > --
> > > > Josh Tynjala
> > > > Bowler Hat LLC <https://bowlerhat.dev>
> > > >
> > > >
> > > > On Wed, Feb 24, 2021 at 10:14 AM Andrew Wetmore 
> > > > wrote:
> > > >
> > > > > It's a mystery to me. I wonder if it has something to do with
> > > > > viewports,
> > > > or
> > > > > maybe with JSON-style updating of parts of the visible screen
> > > > > without refreshing the whole screen...I was hoping someone on the
> > > > > PMC would recognize the term.
> > > > >
> > > > > a
> > > > >
> > > > > On Wed, Feb 24, 2021 at 11:29 AM Harbs 
> > wrote:
> > > > >
> > > > > > Any idea what’s meant by “partial view”?
> > > > > >
> > > > > > Is the a module or something else?
> > > > > >
> > > > > > > On Feb 24, 2021, at 4:50 PM, Andrew Wetmore <
> andr...@apache.org>
> > > > > wrote:
> > > > > > >
> > > > > > > Hi, all. I received a question through my LinkedIn account from
> > > > Vrinda
> > > > > > > Bhat. I have asked Vrinda to join this list and this
> > conversation.
> > > > > > >
> > > > > > > Vrinda wrote, "I'm using Apache Royale for my project and like
&g

Re: MouseEvent.buttonDown

2021-02-25 Thread Carlos Rovira
Hi Harbs,

just try with different examples and in mobile browsers to check it works
as expected, and change if you thing we improve over older code.
I remember problems with particular button configuration in mobile
browsers, and could be related to this, but can't now remember exactly what
was about.

El mié, 24 feb 2021 a las 14:55, Harbs () escribió:

> In trying to figure out why something was not working in my app, I
> discovered that I believe the code in MouseEvent.buttonDown is wrong.
>
> MouseEvent has the following code:
>
> public function get buttonDown():Boolean
> {
> return button > -1 && button < 3;
> }
>
> While BrowserEvent has the following more complex code:
> public function get buttonDown():Boolean
> {
> if(_buttons > -1)
> return _buttons == 1;
> var ev:* = wrappedEvent.getBrowserEvent();
> //Safari does not yet support buttons
> if ('buttons' in ev)
> return ev["buttons"] == 1;
> return ev["which"] == 1;
> }
>
> AIUI, button while never be -1. Both the left button and no button will be
> 0.
>
> There’s also a difference in proposed behavior. In MouseEvent, any button
> would theoretically return true, while BrowserEvent will only return true
> if the left button is pressed.
>
> Any objections to changing MouseEvent to match BrowserEvent?
>
> Thanks,
> Harbs



-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-02-25 Thread Carlos Rovira
Hi Maria Jose,

I plan to create a project example layout with an app and a library created
with the new maven archetypes I did some months ago and try to add this.
Then look for how to fix the distribution. Hope I can do that this weekend
if I hopefully have the time. Having that example would be important to
test thing in a library since we don't have examples in the repo with that
layout.

El mié, 24 feb 2021 a las 2:12, Maria Jose Esteve ()
escribió:

> Hi, I got it, I already compile the libraries that use fx: Array.
> Josh gave me the hint ...
> In the pom, I have added the namespace, inside "additionalCompilerOptions":
>
> -compiler.js-namespaces.namespace+=
> http://ns.adobe.com/mxml/2009,${env.ROYALE_HOME}/frameworks/mxml-2009-manifest.xml
> ;
>
> Now I need to understand why I need this now and not 2 weeks ago ... "
> Do any of you make sense?
>
> Thank you all for your time.
>
> Hiedra
>
> -Mensaje original-
> De: Josh Tynjala 
> Enviado el: martes, 23 de febrero de 2021 18:21
> Para: Apache Royale Development 
> Asunto: Re: Library compilation with asconfigc produces an error
>
> I remember seeing an issue a while back where core classes in MXML, like
>  or , didn't work its because the
> mxml-2009-manifest.xml is not properly referenced anywhere. Does the Maven
> distribution reference this manifest in royale-config.xml?
>
>
> https://github.com/apache/royale-asjs/blob/develop/frameworks/mxml-2009-manifest.xml
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Feb 23, 2021 at 1:01 AM Maria Jose Esteve 
> wrote:
>
> > Hello, let's see if someone can give me a clue ...
> > I always compile my app projects and libraries with mvn.
> > In the last few days, with all this from the sdk, I am getting a very
> > strange error when compiling my libraries ... it does not recognize
> > the tag
> > "".
> > I wanted to do a test: compile with asconfigc but I get a different
> error:
> >
> > > Executing task in folder royale-library: asconfigc
> > --sdk=D:\Apache\apache-royale-0.9.8-maven <
> >
> > args:
> > +royalelib=D:\Apache\apache-royale-0.9.8-maven\frameworks
> > +configname=royale
> > --debug=true
> > --targets=JSRoyale
> > --source-path+=src/main/royale
> > --include-namespaces+=library://ns.mjesteve.com/royalecharting/library
> >
> > --namespace+=library://ns.mjesteve.com/royalecharting/library,src/main
> > --namespace+/resources/library-manifest.xml
> > <http://ns.mjesteve.com/royalecharting/library--namespace+=library://n
> > s.mjesteve.com/royalecharting/library,src/main/resources/library-manif
> > est.xml>
> > --include-classes=LibraryClasses.as
> > --include-sources+=src/main/royale
> > --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > --define+=COMPILE::JS,true
> > --define+=COMPILE::SWF,false
> > --source-map=true
> > --output=target/royale-library-1.0-SNAPSHOT-js.swc
> > -remove-circulars
> > -js-output-optimization=skipAsCoercions
> > target:JSRoyale
> > COMPCJSCRoyale
> > Could not find source for class LibraryClasses.as.
> >
> > This is my asconfig.json file:
> >
> >  {
> > "config": "royale",
> > "type": "lib",
> > "compilerOptions": {
> > "debug": true,
> > "targets": [
> > "JSRoyale"
> > ],
> > "source-path": [
> > "src/main/royale"
> > ],
> > "include-namespaces": [
> > "library://ns.mjesteve.com/royalecharting/library"
> > ],
> > "namespace": [
> > {
> > "uri": "library://ns.mjesteve.com/royalecharting/library
> ",
> > "manifest": "src/main/resources/library-manifest.xml"
> > }
> > ],
> > "include-classes": [
> > "LibraryClasses.as"
> > ],
> > "include-sources": [
> >     "src/main/royale"
> > ],
> > "library-path": [
> > "${royalelib}/js/libs/MXRoyaleJS.swc"
> > ],
> > "js-library-path": [
> > "${royalelib}/js/libs/MXRoyaleJS.swc"
> > ],
> > "define": [
> > {
> > "name": "COMPILE::JS",
> > "value": true
> > },
> > {
> > "name": "COMPILE::SWF",
> > "value": false
> > }
> > ],
> > "source-map": true,
> > "output": "target/royale-library-1.0-SNAPSHOT-js.swc"
> > }
> > }
> >
> > Any clues to the "Could not find source for class LibraryClasses.as"
> error?
> >
> > Thank you all.
> > Hiedra
> >
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: question about partial views when using Jewel

2021-02-25 Thread Carlos Rovira
Hi,

sos for what I read here a "partial view" for Royale will be just a
reusable mxml component, since don't think Vindra's talking about a "view"
referring to a concrete Jewel View or ResponsiveView, but just some part in
the application that is working on.


El mié, 24 feb 2021 a las 22:04, Maria Jose Esteve ()
escribió:

> Hi, Josh is on the right track. They are a kind of "templates". And surely
> Vrinda comes from the ASP.Net or Razor world.
> What I do not know is if she will want a "component" or will she want a
> fixed view that is updated according to the model that is connected to it
> ... she will tell us.
>
> Hiedra.
>
> -Mensaje original-
> De: Andrew Wetmore 
> Enviado el: miércoles, 24 de febrero de 2021 19:29
> Para: Apache Royale Development 
> Asunto: Re: question about partial views when using Jewel
>
> Thank you! I have invited Vrinda to join this conversation, rather than me
> having to elbow-bend questions and answers back and forth.
>
> a
>
> On Wed, Feb 24, 2021 at 2:21 PM Josh Tynjala 
> wrote:
>
> > When I search for "partial view" on Google, I get a lot of ASP.NET
> > results.
> > In that context, it seems to be a way to create a reusable view
> > component in ASP.NET. So if I'm understanding correctly, in Royale
> > terms, Vrinda is looking for documentation about how to create a new
> > MXML view and how to add it as a child in other MXML views. Maybe I'm
> > wrong, but that seems like a reasonable place to start.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Wed, Feb 24, 2021 at 10:14 AM Andrew Wetmore 
> > wrote:
> >
> > > It's a mystery to me. I wonder if it has something to do with
> > > viewports,
> > or
> > > maybe with JSON-style updating of parts of the visible screen
> > > without refreshing the whole screen...I was hoping someone on the
> > > PMC would recognize the term.
> > >
> > > a
> > >
> > > On Wed, Feb 24, 2021 at 11:29 AM Harbs  wrote:
> > >
> > > > Any idea what’s meant by “partial view”?
> > > >
> > > > Is the a module or something else?
> > > >
> > > > > On Feb 24, 2021, at 4:50 PM, Andrew Wetmore 
> > > wrote:
> > > > >
> > > > > Hi, all. I received a question through my LinkedIn account from
> > Vrinda
> > > > > Bhat. I have asked Vrinda to join this list and this conversation.
> > > > >
> > > > > Vrinda wrote, "I'm using Apache Royale for my project and like
> > > > > the
> > > design
> > > > > and working very much. Especially the Jewel part. I would like
> > > > > to
> > know
> > > > > about the documentation of partial views in the official page.
> > > > > Are
> > > there
> > > > > any resources where I can find about partial views in Jewel?
> > > > > Please
> > > help
> > > > me
> > > > > out."
> > > > >
> > > > > I would gladly provide documentation, but I am afraid I don't
> > > > > know
> > > what a
> > > > > "partial view" is. Any thoughts?
> > > > >
> > > > > Andrwe
> > > > >
> > > > >
> > > > >
> > > > >   -
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Andrew Wetmore
> > > > > Technical Writer-Editor
> > > > > Infra
> > > > > *Apache Software Foundation*
> > > > > andr...@apache.org
> > > >
> > > >
> > >
> > > --
> > > Andrew Wetmore
> > > Technical Writer-Editor
> > > Infra
> > > *Apache Software Foundation*
> > > andr...@apache.org
> > >
> >
>
>
> --
> Andrew Wetmore
> Technical Writer-Editor
> Infra
> *Apache Software Foundation*
> andr...@apache.org
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Current state of the distributions alligning?

2021-02-24 Thread Carlos Rovira
Hi Chris,

I think the main issue is now this one reported yesterday by Javier here
[1], since it is making people using Maven and Maven SDK unable to add
fx:Array (and maybe other fx objects) in a library. We don't have any
examples like that in our repo and I think we need to generate one. I'll be
adding one creating it with our maven archetypes so we can easily check it.

Then there's the SWF problem

@Piotr, I think the problem with matching ANT is that we create a SDK
inside a repository mixing things, so ANT generated SDK is overlaid over
the source repo making it very difficult to see what comes from ANT and
what from sources. I think a better approach is to check against nightly
build, although we have a similar problem since inside there's 3 folders
and the one we really want is "royale-asjs", and also I can see some unused
things.

I remember Josh shared a link with info of what should be inside in a Flex
SDK that could be of help. Will try to find it and share here.

[1] https://github.com/apache/royale-asjs/issues/1083

El mié, 24 feb 2021 a las 10:44, Christofer Dutz ()
escribió:

> Hi all,
>
> But having seen that some of you setup two properties to allow
> code-navigation ...
> one to the maven sistribuition and one to the checkout ... this seems
> inconvenient.
>
> Perhaps it's time I found out which parts of the ANT distribution are
> actually needed and to make the distributions structurally more similar (Of
> course in a branch)
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Mittwoch, 24. Februar 2021 10:39
> An: dev@royale.apache.org
> Betreff: AW: Current state of the distributions alligning?
>
> Hi Piotr,
>
> the structure is unfortunately not identical so it's difficult to compare.
> So I was hoping on some reports on what's not working.
>
> I have seen that the ANT version contains all the project sources.
> The Maven version simply adds a "manifests" directory that contains all
> the manifest files.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Zarzycki 
> Gesendet: Mittwoch, 24. Februar 2021 10:33
> An: Apache Royale Development 
> Betreff: Re: Current state of the distributions alligning?
>
> Hi Chris,
>
> Did you check as a comparison ANT distribution vs Maven ? I think this is
> the way to go. I hope to have some time and check the state of distribution
> today.
>
> Thanks,
> Piotr
>
> śr., 24 lut 2021 o 10:24 Christofer Dutz 
> napisał(a):
>
> > Hi all,
> >
> > after the discussions have calmed down in multiple threads, I would
> > like to merge the discussion beck to one thread and continue making
> > the Maven distribution as perfect as possible.
> >
> > What's the current state from a user perspective? What still needs
> fixing?
> > Is anything missing?
> >
> > I know that currently not all manifests are listed in the
> > royale-config.xml ... anything else?
> >
> >
> > Chris
> >
>
>
> --
>
> Piotr Zarzycki
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: playerglobal gen is making maven build fail

2021-02-24 Thread Carlos Rovira
Hi Josh,

All is ok now, Many thank! :)

El mar, 23 feb 2021 a las 21:49, Maria Jose Esteve ()
escribió:

> Hi Josh,
> I'll try it in a while and I'll tell you. And by the way ... thanks to you.
>
> Hiedra
>
> -Mensaje original-
> De: Josh Tynjala 
> Enviado el: martes, 23 de febrero de 2021 19:21
> Para: Apache Royale Development 
> Asunto: Re: playerglobal gen is making maven build fail
>
> It should be fixed now. Sorry again!
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Feb 23, 2021 at 9:12 AM Josh Tynjala 
> wrote:
>
> > Sorry about that! My last local build completed successfully, so I
> > thought it was safe to commit. However, I think it tricked me by using
> > some cached artifacts. I can reproduce after I clean the project. I'm
> working on a fix.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Mon, Feb 22, 2021 at 11:37 PM Carlos Rovira
> > 
> > wrote:
> >
> >> Hi Josh,
> >>
> >> I'm trying to build but seems something in the playerglobal gen is
> >> making maven fail. can you check it?
> >>
> >> Loading configuration:
> >>
> >> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-extern
> >> c/target/compile-as-config.xml
> >>
> >>
> >> 299501 bytes written to
> >>
> >> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-extern
> >> c/target/js.swc
> >> in 1,949 seconds
> >>
> >> Loading configuration:
> >>
> >> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler/target
> >> /compile-as-config.xml
> >>
> >>
> >> 5259 bytes written to
> >>
> >> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler/target
> >> /custom.swc
> >> in 0,612 seconds
> >>
> >> [*ERROR*] COMPILATION ERROR :
> >>
> >> [*ERROR*]
> >>
> >> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/src
> >> /main/java/org/apache/royale/compiler/clients/RoyaleToolGroup.java:[3
> >> 5,25]
> >> cannot find symbol
> >>
> >>   symbol:   class PLAYERGLOBALC
> >>
> >>   location: class org.apache.royale.compiler.clients.RoyaleToolGroup
> >>
> >> [*ERROR*] Failed to execute goal
> >> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> >> *(default-compile)* on project compiler-jx: *Compilation failure*
> >>
> >> [*ERROR*]
> >> */Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/sr
> >> c/main/java/org/apache/royale/compiler/clients/RoyaleToolGroup.java:[
> >> 35,25]
> >> cannot find symbol*
> >>
> >> [*ERROR*] *  symbol:   class PLAYERGLOBALC*
> >>
> >> [*ERROR*] *  location: class
> >> org.apache.royale.compiler.clients.RoyaleToolGroup*
> >>
> >> [*ERROR*]
> >>
> >> [*ERROR*] -> *[Help 1]*
> >>
> >> [*ERROR*]
> >>
> >> [*ERROR*] To see the full stack trace of the errors, re-run Maven
> >> with the
> >> *-e* switch.
> >>
> >> [*ERROR*] Re-run Maven using the *-X* switch to enable full debug
> logging.
> >>
> >> [*ERROR*]
> >>
> >> [*ERROR*] For more information about the errors and possible
> >> solutions, please read the following articles:
> >>
> >> [*ERROR*] *[Help 1]*
> >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >>
> >> [*ERROR*]
> >>
> >> [*ERROR*] After correcting the problems, you can resume the build
> >> with the command
> >>
> >> [*ERROR*]   *mvn  -rf :compiler-jx*
> >>
> >> Error:Build stopped - build COMPILER with MAVEN
> >>
> >> carlosrovira@macbookpro royale-asjs %
> >>
> >> thanks
> >> --
> >> Carlos Rovira
> >> Apache Member & Apache Royale PMC
> >> *Apache Software Foundation*
> >> http://about.me/carlosrovira
> >>
> >
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Library compilation with asconfigc produces an error

2021-02-23 Thread Carlos Rovira
Hi MJ,

just responded to Javier's issue in github. I can't see any problem now
with maven or with distribution
As I explain in that issue I tried to add fx:Array and it is working for me.
Here's the issue [1]

[1] https://github.com/apache/royale-asjs/issues/1083




El mar, 23 feb 2021 a las 10:41, Christofer Dutz ()
escribió:

> Hmmm ... actually all changes I did recently should have only had effects
> on the Maven build SDK.
>
> So if you are using maven to build, we should probably dig deeper, but I
> wouldn't assume that the issues are related to that work.
>
> But reading your email in more detail ... you are building the
> distribution with maven and using it in VSCode or alike?
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Maria Jose Esteve 
> Gesendet: Dienstag, 23. Februar 2021 10:01
> An: dev@royale.apache.org
> Betreff: Library compilation with asconfigc produces an error
>
> Hello, let's see if someone can give me a clue ...
> I always compile my app projects and libraries with mvn.
> In the last few days, with all this from the sdk, I am getting a very
> strange error when compiling my libraries ... it does not recognize the tag
> "".
> I wanted to do a test: compile with asconfigc but I get a different error:
>
> > Executing task in folder royale-library: asconfigc
> --sdk=D:\Apache\apache-royale-0.9.8-maven <
>
> args:
> +royalelib=D:\Apache\apache-royale-0.9.8-maven\frameworks
> +configname=royale
> --debug=true
> --targets=JSRoyale
> --source-path+=src/main/royale
> --include-namespaces+=library://ns.mjesteve.com/royalecharting/library
>
> --namespace+=library://ns.mjesteve.com/royalecharting/library,src/main/resources/library-manifest.xml
> <http://ns.mjesteve.com/royalecharting/library--namespace+=library://ns.mjesteve.com/royalecharting/library,src/main/resources/library-manifest.xml>
> --include-classes=LibraryClasses.as
> --include-sources+=src/main/royale
> --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> --define+=COMPILE::JS,true
> --define+=COMPILE::SWF,false
> --source-map=true
> --output=target/royale-library-1.0-SNAPSHOT-js.swc
> -remove-circulars
> -js-output-optimization=skipAsCoercions
> target:JSRoyale
> COMPCJSCRoyale
> Could not find source for class LibraryClasses.as.
>
> This is my asconfig.json file:
>
>  {
> "config": "royale",
> "type": "lib",
> "compilerOptions": {
> "debug": true,
> "targets": [
> "JSRoyale"
> ],
> "source-path": [
> "src/main/royale"
> ],
> "include-namespaces": [
> "library://ns.mjesteve.com/royalecharting/library"
> ],
> "namespace": [
> {
> "uri": "library://ns.mjesteve.com/royalecharting/library",
> "manifest": "src/main/resources/library-manifest.xml"
> }
> ],
> "include-classes": [
> "LibraryClasses.as"
> ],
> "include-sources": [
> "src/main/royale"
> ],
> "library-path": [
> "${royalelib}/js/libs/MXRoyaleJS.swc"
> ],
> "js-library-path": [
> "${royalelib}/js/libs/MXRoyaleJS.swc"
> ],
> "define": [
> {
> "name": "COMPILE::JS",
> "value": true
> },
> {
> "name": "COMPILE::SWF",
> "value": false
> }
> ],
> "source-map": true,
> "output": "target/royale-library-1.0-SNAPSHOT-js.swc"
> }
> }
>
> Any clues to the "Could not find source for class LibraryClasses.as" error?
>
> Thank you all.
> Hiedra
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: playerglobal gen is making maven build fail

2021-02-23 Thread Carlos Rovira
Hi MJ,

since Josh is in another time frame, will not read this in few hours so I
recommend you to go back to the previous commit from Josh yesterday commits
and build from scratch, then as Josh fix the issue you could sync again.
Tha'ts what I did today

HTH


El mar, 23 feb 2021 a las 9:29, Maria Jose Esteve ()
escribió:

> Hello Good morning.
> I also get the same error.
>
> Hiedra.
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: martes, 23 de febrero de 2021 8:37
> Para: Apache Royale Development 
> Asunto: playerglobal gen is making maven build fail
>
> Hi Josh,
>
> I'm trying to build but seems something in the playerglobal gen is making
> maven fail. can you check it?
>
> Loading configuration:
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/compile-as-config.xml
>
>
> 299501 bytes written to
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/js.swc
> in 1,949 seconds
>
> Loading configuration:
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler/target/compile-as-config.xml
>
>
> 5259 bytes written to
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler/target/custom.swc
> in 0,612 seconds
>
> [*ERROR*] COMPILATION ERROR :
>
> [*ERROR*]
>
> /Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/src/main/java/org/apache/royale/compiler/clients/RoyaleToolGroup.java:[35,25]
> cannot find symbol
>
>   symbol:   class PLAYERGLOBALC
>
>   location: class org.apache.royale.compiler.clients.RoyaleToolGroup
>
> [*ERROR*] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> *(default-compile)* on project compiler-jx: *Compilation failure*
>
> [*ERROR*]
> */Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/src/main/java/org/apache/royale/compiler/clients/RoyaleToolGroup.java:[35,25]
> cannot find symbol*
>
> [*ERROR*] *  symbol:   class PLAYERGLOBALC*
>
> [*ERROR*] *  location: class
> org.apache.royale.compiler.clients.RoyaleToolGroup*
>
> [*ERROR*]
>
> [*ERROR*] -> *[Help 1]*
>
> [*ERROR*]
>
> [*ERROR*] To see the full stack trace of the errors, re-run Maven with the
> *-e* switch.
>
> [*ERROR*] Re-run Maven using the *-X* switch to enable full debug logging.
>
> [*ERROR*]
>
> [*ERROR*] For more information about the errors and possible solutions,
> please read the following articles:
>
> [*ERROR*] *[Help 1]*
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> [*ERROR*]
>
> [*ERROR*] After correcting the problems, you can resume the build with the
> command
>
> [*ERROR*]   *mvn  -rf :compiler-jx*
>
> Error:Build stopped - build COMPILER with MAVEN
>
> carlosrovira@macbookpro royale-asjs %
>
> thanks
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [DISCUSS] jQuery or JQuery ... that is the question

2021-02-23 Thread Carlos Rovira
Hi,

my understanding is that the name of a Royale library should have its own
rule. I think it was implicit to use capital first letters. Then if that
library is jQuery in this case, for me just means that it is trying to get
that js library to the royale world, so no direct relation between our name
for a royale library and how jQuery name its product.

If I had to choose I'd prefer to use "JQuery" in Royale as the name of the
royale library that wraps "jQuery".

Anyway, just my opinion, and for me it would be ok whatever we decide. If
no one has any particular interest in making this or the other, maybe we
can solve it by just making a vote thread, so people can vote and do
whatever we get there.

HTH

Carlos


El mar, 23 feb 2021 a las 10:49, Harbs () escribió:

> “jQuery” is technically more “correct” as that’s the official name.
>
> Also, the type in Actionscript is “jQuery” and not “JQuery”.
>
> For users of ANT or asconfigc, the capitalization should not matter
> because in normal use, the library SWC is not referenced directly.
>
> My understanding from you is that changing the capitalization will break
> things for users of Maven.
>
> That seems to me like an argument to change it to “JQuery” for all builds,
> although making a change in a pom for users who have the dependency is
> probably not a big deal. Making it capital would make the swc file name and
> the type name not match.
>
> I don’t have a strong opinion one way or the other, but those seem to be
> the sides of the question to me. It does make sense to me that all builds
> should have matching file names and capitalizations. If I was forced to
> pick one, I’d probably pick “jQuery”, but like I said I don’t care very
> much.
>
> My $0.02,
> Harbs
>
> > On Feb 23, 2021, at 10:48 AM, Christofer Dutz 
> wrote:
> >
> > Hi all,
> >
> > while working on making both the ANT and Maven distributions as similar
> as possible, we noticed that in the Ant build the jQuery Library is called
> "jQuery" (with a lower-case J) and in Maven all libaries are capitalized.
> >
> > I think we should streamline this that it's equal in both.
> >
> > The question is which one to change?
> >
> > Changing the Maven one will have very clear implications: Except that
> every dependency to the artifact will have to be changed to the lower-case
> version, there are no side-effecty. I would however consider this a
> breaking change as if you use jQuery you can't just bump the Royale version
> and get things working. So if we go down this path, we should mention this
> in the RELEASE_NOTES as breaking change.
> >
> > If we change the ANT version, we would have all libs follow the same
> pattern (just an esthetic advantage in my opinion ... but it does pop my
> eye everytime I see it). But I can't say which implications this would have
> to the backward compatibility. I would however expect this not to be a
> breaking change. As I have learned in the past few weeks, when working with
> ANT people usually rely on the manifests and catalogs of the SDK. These
> would be updated by us and simply building against a newer SDK would use
> upsted catalogs and manifests and therefore shouldn't have any effect. But
> I'm no expert on this form of build.
> >
> > If I had a vote, I would probably vote for having capital letters for
> all libs.
> >
> > Chris
> >
> >
> >
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


playerglobal gen is making maven build fail

2021-02-22 Thread Carlos Rovira
Hi Josh,

I'm trying to build but seems something in the playerglobal gen is making
maven fail. can you check it?

Loading configuration:
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/compile-as-config.xml


299501 bytes written to
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-externc/target/js.swc
in 1,949 seconds

Loading configuration:
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler/target/compile-as-config.xml


5259 bytes written to
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler/target/custom.swc
in 0,612 seconds

[*ERROR*] COMPILATION ERROR :

[*ERROR*]
/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/src/main/java/org/apache/royale/compiler/clients/RoyaleToolGroup.java:[35,25]
cannot find symbol

  symbol:   class PLAYERGLOBALC

  location: class org.apache.royale.compiler.clients.RoyaleToolGroup

[*ERROR*] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
*(default-compile)* on project compiler-jx: *Compilation failure*

[*ERROR*] 
*/Users/carlosrovira/Dev/Royale/Source/royale-compiler/compiler-jx/src/main/java/org/apache/royale/compiler/clients/RoyaleToolGroup.java:[35,25]
cannot find symbol*

[*ERROR*] *  symbol:   class PLAYERGLOBALC*

[*ERROR*] *  location: class
org.apache.royale.compiler.clients.RoyaleToolGroup*

[*ERROR*]

[*ERROR*] -> *[Help 1]*

[*ERROR*]

[*ERROR*] To see the full stack trace of the errors, re-run Maven with the
*-e* switch.

[*ERROR*] Re-run Maven using the *-X* switch to enable full debug logging.

[*ERROR*]

[*ERROR*] For more information about the errors and possible solutions,
please read the following articles:

[*ERROR*] *[Help 1]*
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[*ERROR*]

[*ERROR*] After correcting the problems, you can resume the build with the
command

[*ERROR*]   *mvn  -rf :compiler-jx*

Error:Build stopped - build COMPILER with MAVEN

carlosrovira@macbookpro royale-asjs %

thanks
-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: TourDeJewel: Missing assets/apache-royale-jewel-logo-white.svg?

2021-02-22 Thread Carlos Rovira
Hi Josh,

that image is here in JewelTheme:

https://github.com/apache/royale-asjs/tree/develop/frameworks/themes/JewelTheme/src/main/resources/assets

Is there since conceptually is part of the theme, since a theme could have
assets related to the theme, although more like icons, images related to
parts of some skin or even AS3 code that draws something or is a "View" of
some component.

To keep JewelTheme as "compact" as possible, things like AS3 views were
tested by me, but never used. This image is just the logo of Jewel, and
while it is really not an asset for any drawing I keep to show that we can
have this kind of thing in themes.

When the Jewel app is built with Maven the assets are copied to the app to
be used, so that code is on the pom. I think the problem is this is not
done in any other building way.

HTH

El lun, 22 feb 2021 a las 19:12, Josh Tynjala ()
escribió:

> I've been seeing this for a while. When I build TourDeJewel, the logo in
> the sidebar is always a broken image. It seems to be looking
> for assets/apache-royale-jewel-logo-white.svg, but that file doesn't exist
> here:
>
>
> https://github.com/apache/royale-asjs/tree/develop/examples/jewel/TourDeJewel/src/main/resources/assets
>
> Was the file not committed to the repository? Or was that supposed to be
> apache-royale-logo.svg instead?
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Carlos Rovira
Hi Chris,

no worries, you worked hard on this. But Many of us was working daily with
maven sdk dist (me included) and how people emailed warning about a problem
is a proof of that, so I really don't understand how it was working, maybe
it was because we have royale maven build done and was getting things from
.m2 instead of the sdk...just figuring.



El lun, 22 feb 2021 a las 19:24, Christofer Dutz ()
escribió:

> Yeah sorry for that ...
>
> And in general:
> I thought nobody was using the distribution as it "wasn't working".
> If I had known that this was acrtually used, I would have choosen a
> different approach.
>
> So if this caused any trouble, please accept my sincere appologies for
> that.
>
> Chris
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Montag, 22. Februar 2021 19:10
> An: Apache Royale Development 
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi , just reverted two latest Chris commits since he's not available now
> and SWF is not totally done.
> We'll go over this as we can. But JS should be totally done. Take a look
> and let us know if something is not working for maven sdk distribution.
>
> thanks
>
> El lun, 22 feb 2021 a las 18:07, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> escribió:
>
> > Just added some more manifest files.
> >
> > Turns out that more modules were added to the project, but the
> > deistribution wasn't keept completely up to date.
> >
> > I added the missing ones, but still the SWF compilation of the MXRoyale
> > example seems to fail.
> >
> > If anyone can provide me with an explanation to how things need to be
> > changed to make it work, I'll be happy to do so.
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Christofer Dutz 
> > Gesendet: Montag, 22. Februar 2021 17:12
> > An: dev@royale.apache.org
> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
> >
> > And it turns out there was a double-inclusion of some libs in the js and
> > swf distribtuion parts, fixed that now.
> >
> > Now the distribution should look nice, even with enabled
> "option-with-swf"
> > profile.
> >
> > Chris
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Carlos Rovira 
> > Gesendet: Montag, 22. Februar 2021 13:17
> > An: Apache Royale Development 
> > Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
> >
> > Hi Chris,
> >
> > many thanks for the effort! I tried and now all seems to work fine for
> me.
> > Even the remote object example that was failing yesterday for Jason.
> > It need a fix that I just committed too.
> >
> > I think we have now a better and powerful Maven SDK distribution!! :D
> >
> >
> >
> > El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<
> > christofer.d...@c-ware.de>)
> > escribió:
> >
> > > Yeah,
> > >
> > > I wanted to build with swf, but unfortunately I setup  my new Windows
> > > laptop this year and couldn't fetch the missing Adobe parts.
> > > Luckily Carlos sent me the missing files and I managed to fix things
> > >
> > > So I commented out the ACE module again, but created a Pull-Request to
> > > merge some changes in that could possibly fix the missing ACE module
> > > problem. It would however be cool, if Yishay could have a look at that
> > > (Seems he created the ACE module)
> > >
> > > You should now be good to go ... and sorry for all the noise ;)
> > >
> > > Chris
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Maria Jose Esteve 
> > > Gesendet: Montag, 22. Februar 2021 12:44
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> > > doesn't. As you have mentioned Ace needs some adjustment [1]
> > >
> > > When I manage to compile (without option-with-swf option) I can't
> compile
> > > any of my projects, in all I get the same  error
> > >
> > > [1]
> > > [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> > > (default-compile-as) @ Ace ---
> > > [INFO] Executing COMPC in tool group Royale with args:
> > >
> >
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\tar

Re: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Carlos Rovira
Hi , just reverted two latest Chris commits since he's not available now
and SWF is not totally done.
We'll go over this as we can. But JS should be totally done. Take a look
and let us know if something is not working for maven sdk distribution.

thanks

El lun, 22 feb 2021 a las 18:07, Christofer Dutz ()
escribió:

> Just added some more manifest files.
>
> Turns out that more modules were added to the project, but the
> deistribution wasn't keept completely up to date.
>
> I added the missing ones, but still the SWF compilation of the MXRoyale
> example seems to fail.
>
> If anyone can provide me with an explanation to how things need to be
> changed to make it work, I'll be happy to do so.
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Christofer Dutz 
> Gesendet: Montag, 22. Februar 2021 17:12
> An: dev@royale.apache.org
> Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>
> And it turns out there was a double-inclusion of some libs in the js and
> swf distribtuion parts, fixed that now.
>
> Now the distribution should look nice, even with enabled "option-with-swf"
> profile.
>
> Chris
>
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Montag, 22. Februar 2021 13:17
> An: Apache Royale Development 
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi Chris,
>
> many thanks for the effort! I tried and now all seems to work fine for me.
> Even the remote object example that was failing yesterday for Jason.
> It need a fix that I just committed too.
>
> I think we have now a better and powerful Maven SDK distribution!! :D
>
>
>
> El lun, 22 feb 2021 a las 12:50, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> escribió:
>
> > Yeah,
> >
> > I wanted to build with swf, but unfortunately I setup  my new Windows
> > laptop this year and couldn't fetch the missing Adobe parts.
> > Luckily Carlos sent me the missing files and I managed to fix things
> >
> > So I commented out the ACE module again, but created a Pull-Request to
> > merge some changes in that could possibly fix the missing ACE module
> > problem. It would however be cool, if Yishay could have a look at that
> > (Seems he created the ACE module)
> >
> > You should now be good to go ... and sorry for all the noise ;)
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Maria Jose Esteve 
> > Gesendet: Montag, 22. Februar 2021 12:44
> > An: dev@royale.apache.org
> > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> >
> > Without "option-with-swf" it compiles ok, but with "option-with-swf" it
> > doesn't. As you have mentioned Ace needs some adjustment [1]
> >
> > When I manage to compile (without option-with-swf option) I can't compile
> > any of my projects, in all I get the same  error
> >
> > [1]
> > [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-as
> > (default-compile-as) @ Ace ---
> > [INFO] Executing COMPC in tool group Royale with args:
> >
> [-load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml,
> > -js-default-initializers=false, -source-map=true,
> > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/,
> > -js-complex-implicit-coercions=false, -js-vector-index-checks=false,
> > -js-resolve-uncertain=false, -compiler.targets=SWF,JSRoyale,
> > -compiler.strict-xml=true]
> > args:
> >
> >
> -load-config=D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> > -js-default-initializers=false
> > -source-map=true
> > -source-map-source-root=/frameworks/projects/Ace/src/main/royale/
> > -js-complex-implicit-coercions=false
> > -js-vector-index-checks=false
> > -js-resolve-uncertain=false
> > -compiler.targets=SWF,JSRoyale
> > -compiler.strict-xml=true
> > target:SWF
> > target:JSRoyale
> > COMPC
> > Loading configuration:
> >
> D:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks\projects\Ace\target\compile-swf-config.xml
> >
> > 0.1429886 seconds
> > [INFO]
> > 
> > [INFO] Reactor Summary for Apache Royale: Framework: Parent
> 0.9.8-SNAPSHOT:
> > [INFO]
> > [INFO] Apache Royale: Framework: Parent ... SUCCESS [
> > 3.009 s]
> > [INFO] Apache Royale: Framework ... SUCCESS [
> > 0.303 s]
> >

Re: Align Maven IDE distribution with Ant IDE distribution

2021-02-22 Thread Carlos Rovira
gt; > > AssignedValue(JSGoogEmitter.java:965)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitAssignmen
>
> > > > tCoercion(JSEmitter.java:917)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitAssignmentCoercion(JSRoyaleEmitter.java:1558)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.super_emitBinaryOperator(BinaryOperatorEmitter.java:598)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitte
>
> > > > r.emit(BinaryOperatorEmitter.java:500)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitBinaryOperator(JSRoyaleEmitter.java:1028)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBinaryOperator(ASBlockWalker.java:538)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:348)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:40)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.StatementEmitter.emi
>
> > > > t(StatementEmitter.java:29)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.JSEmitter.emitStatement
>
> > > > (JSEmitter.java:349)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitStatement(JSRoyaleEmitter.java:1204)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitBlock(ASBlockWalker.java:349)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:278)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeHandler.handle(ASNodeHandler.java:85)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.walk(ASBlockWalker.java:159)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.as.ASEmitter.emitMethodSco
>
> > > > pe(ASEmitter.java:830)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.jx.MethodEmitter.emit(M
>
> > > > ethodEmitter.java:160)
>
> > > > : at
>
> > > >
>
> > > >
> org.apache.royale.compiler.internal.codegen.js.royale.JSRoyaleEmitter.
>
> > > > emitMethod(JSRoyaleEmitter.java:891)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.codegen.as
>
> > > > .ASBlockWalker.visitFunction(ASBlockWalker.java:290)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as
>
> > > > .ASNodeSwitch.handle(ASNodeSwitch.java:152)
>
> > > > : at
>
> > > > org.apache.royale.compiler.internal.visitor.as

Re: Error open vsCode with ActionScript extension

2021-02-22 Thread Carlos Rovira
Hi Maria Jose,
I see you responded to the other thread so you are aware of the problems.
Hope that is fixed in a while and we could download and test all.

El lun, 22 feb 2021 a las 0:28, Maria Jose Esteve ()
escribió:

> Hello good evening.
> I have compiled, without any problem, the SDK with the latest commits from
> Carlos, with Maven.
> When I open my wrks [1] of the TDJ with vsCode the ActionScript & MXML
> extension gives an error and does not load [2].
> There are errors in the java console [3] but I don't know how to interpret
> them correctly.
>
> [1]
> {
> "folders": [
> {
>"path":
> ".\\royale-asjs\\examples\\jewel\\TourDeJewel"
> }
> ],
> "settings": {
> "as3mxml.sdk.framework": "D:\\Apache\\apache-royale-0.9.8-maven", //My
> distribution
>"as3mxml.sdk.editor":
> "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" //source code sdk
> }
> }
>
> [2]
> The ActionScript & MXML extension failed to start.
> Internal Error
> [3]
> https://drive.google.com/file/d/18PBwXyp9sQtD2dqGGYb-R8sfhJ-PJMfQ/view?usp=sharing
> [4]
> https://drive.google.com/file/d/1VF25dN8cJndVq1PpsYP7HqeBf8z0_0jM/view?usp=sharing
> (Log de HostExtension)
>
> I had this problem "on my other pc" and I solved it by downloading asjs,
> compiler, typedef and compiling it with mvn + ant. I didn't have the
> problem setting up the Jenkins sdk.
> I have tried this myself now and it also fixes the problem.
>
> The problem occurs with my mvn distribution. Does it happen to someone
> else?
>
> Thx.
> Hiedra
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Compiler can't recognize HierarchicalData and properties in emulation

2021-02-22 Thread Carlos Rovira
Wait a while for Chris changes to add MXRoyale and check again.
Probably is what Josh said, but since we're doing some fixes you can't
check it


El lun, 22 feb 2021 a las 10:24, Alina Kazi ()
escribió:

> Hi,
> I tried adding that also. But it didn't work.
>
> I guess there's some problem with maven distribution.
>
> --
> Alina Kazi
>
>
> On Fri, Feb 19, 2021 at 10:13 PM Josh Tynjala 
> wrote:
>
> > I don't see HierarchicalData listed in the MXRoyale manifest file. Maybe
> > that's the issue.
> >
> >
> >
> https://github.com/apache/royale-asjs/blob/develop/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Fri, Feb 19, 2021 at 2:30 AM Alina Kazi 
> > wrote:
> >
> > > Hi,
> > > Compiling the application with the latest SDK.
> > > HierarchicalData is present in mx royale along with all the properties
> we
> > > are using in the application. Still I am getting errors.
> > > Screenshot attached.
> > > https://ibb.co/8dsfYXC
> > > Please if someone can see quickly, what's wrong.
> > >
> > > Thanks in Advance.
> > >
> >
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Royale nightly server down again

2021-02-21 Thread Carlos Rovira
Hi Chris, that would be cool. Thanks! :)

El sáb, 20 feb 2021 a las 17:24, Christofer Dutz ()
escribió:

> Well the builds I had setup quite some time ago. Will have a look at
> what's missing.
>
> Chris
>
> Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
>
> ________
> From: Carlos Rovira 
> Sent: Saturday, February 20, 2021 2:52:25 PM
> To: Apache Royale Development 
> Subject: Re: Royale nightly server down again
>
> Hi Chris,
>
> thanks, I was thinking we need infra's hand here to sete up agents.
> Yes, please go ahead with this task. I think for sure that you're the best
> qualified in the team and with all knowledge to make this in few time.
>
> Many thanks! :)
>
> El jue, 18 feb 2021 a las 23:16, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> escribió:
>
> > Hi all,
> >
> > There's nothing we need to have them setup for us (I think)
> >
> > Only if we insist on them installing the Flashplayer ... then we might
> > need help.
> >
> > We already have a Space (But I should probably double check cause I don't
> > know if all spaces have been migrated to the new Jenkins)
> > Unfortunately today of all days was one where there seem to have been
> huge
> > issues. Hopefully they'll have service back up and running soon.
> >
> > If you want, I would volunteer to take care of this.
> >
> > Chris
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Carlos Rovira 
> > Gesendet: Donnerstag, 18. Februar 2021 17:32
> > An: Apache Royale Development 
> > Betreff: Re: Royale nightly server down again
> >
> > Hi Harbs,
> >
> > I think the best is to open a ticket in infra to request the needs so
> they
> > setup for us. The important thing here is that all things we want to use
> > are behind Apache systems to ensure we have infra supporting us. Then
> once
> > we have the resources we can plan the set up.
> >
> > What do you think?
> >
> >
> >
> >
> > El jue, 18 feb 2021 a las 16:53, Harbs ()
> escribió:
> >
> > > Sounds cool.
> > >
> > > What I would love to be able to do is:
> > > 1. have a build machine (I think Windows is still a requirement as
> > > long as we’re using SWF).
> > > 2. Push the nightly builds to something like S3 to make downloads
> > > faster and easier (and not require a load on the build server.
> > > 3. Extra credit if we can get it to work with Cloudfront or something
> > > for cdn downloads of the nightlies.
> > >
> > > I’d also like to be able to setup multiple servers to be able to test
> > > reproducible builds.
> > >
> > > > On Feb 18, 2021, at 5:41 PM, Carlos Rovira 
> > > wrote:
> > > >
> > > > Hi Andrew,
> > > >
> > > > if Apache infra supports AWS out-of-the-box, that will be amazing
> > > > and a solution for our problem! :)
> > > >
> > > >
> > > >
> > > > El jue, 18 feb 2021 a las 16:35, Andrew Wetmore
> > > > ()
> > > > escribió:
> > > >
> > > >> Infra has some Apache-dedicated AWS space available, I believe. If
> > > Royale
> > > >> starts a Jira ticket aimed at INFRA, they can talk us through what
> > > >> is involved.
> > > >>
> > > >> I will ask at today's team meeting.
> > > >>
> > > >> Andrew
> > > >>
> > > >> On Thu, Feb 18, 2021 at 11:30 AM Carlos Rovira
> > > >>  > > >
> > > >> wrote:
> > > >>
> > > >>> Hi,
> > > >>>
> > > >>> my motivation behind of the use of Apache machines is to be "as
> > > >> compliant"
> > > >>> as possible with Apache, since we are an apache project. We use
> > > >>> AWS and love it, but setting up another machine that is tied to
> > > >>> one of us
> > > >> wouldn't
> > > >>> be the same problem in the end? I mean, if we rely on apache
> > > >>> infrastructure, we always can get the help of Apache infra...but
> > > >>> if we
> > > do
> > > >>> things on our own that means we depend on us to be accessible to
> > > >>> avoid
> > > >> the
> > > >>> rest of the project to be on a halt.
> > > >>>
> > > >>> Th

Re: Align Maven IDE distribution with Ant IDE distribution

2021-02-21 Thread Carlos Rovira
Hi,

I worked today on this and finally could solve the problem. A part from
Chris changes we need a bit more changes since all was set up from the
compiler to use the old names. So class paths need to be changed too there.
Also Google Closure compiler need to be in jar mode instead of unpacked.

Now I can use CMD (or CTRL) + SHIFT + B and select Debug or Release option
with Actionscript extension and all goes ok.
When using CMD+ENTER I think VsCode use the experimental build in Josh
extension and take the SDK in ROYALE_HOME, and since that's the one build
in the repository with ANT all seems fine, but is not using the selected
SDK, so the build is not using what you expect.

This is my output now using the Maven Distribution SDK:



















*> Executing task in folder TourDeJewel:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
-jar
/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
--sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
--project
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
)
escribió:

> So I just did a video and posted it to the Royale slack channel ...
>
> I can't seem to reproduce the error ... perhaps if you check what I'm
> doing you can tell me if I'm doing something wrong.
> I did try to rule out that I might have not configured VSCode to use my
> distribution by intentionally changing the settings to a wrong location. It
> didn't work then, and when I changed it back to the correct version, I
> could build again.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Samstag, 20. Februar 2021 15:17
> An: Apache Royale Development 
> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>
> Hi,
>
> sorry, yesterday was mostly offline for some personal things. Many things
> happen in this thread.
> I rebuild all today and check. This is what I can report trying to build
> TDJ with Maven SDK with Chris's changes.
> Setting my VSCode with AS3 to the Maven SDK just generated:
>
> 1.- I can't build with CMD+SHIFT+ENTER, then "Build Debug with AS3
> Extension Tour de Jewel" (as josh said). I get :
>
> Executing task in folder TourDeJewel:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
> -jar
>
> /Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar
> --sdk /Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven --debug=true
> --project
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json
> <
>
> Error: no se ha encontrado o cargado la clase principal
> org.apache.royale.compiler.clients.MXMLJSC
> The terminal process
>
> "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
> '-jar',
>
> '/Users/carlosrovira/.vscode/extensions/bowlerhatllc.vscode-nextgenas-1.6.0/bin/asconfigc.jar',
> '--sdk', '/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven',
> '--debug=true', '--project',
>
> '/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/jewel/TourDeJewel/asconfig.json'"
> terminated with exit code: 1.
>
> Terminal will be reused by tasks, press any key to close it.
>
>
> 2.- I can build with CMD+ENTER. I get:
>
> Royale Compiler Shell
> (fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
> --source-path+=src/main/resources --source-map=true
> --html-template=src/main/resources/jewel-example-index-template.html
> --theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
> -js-dynamic-access-unknown-members=true -- src/main/royale/App.mxml
> fcsh: Assigned 1 as the compile target id The project 'App' has been
> successfully compiled and optimized.
> Compile status: 0
> Elapsed time: 26.925719521 seconds
> Feb 20, 2021 3:10:42 PM com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> INFO: 0 error(s), 0 warning(s), 97.8% typed
> (fcsh)
>
> I don't understand fully the differences between one method and the other
> and why I get different results. I guess know what's happening is needed so
> Chris can do the proper changes. probably there are paths and locations
> mixed.
>
> @Chris, one thing I did in the past was to compare maven distribution with
> ant distribution so both has most of the things in the same place. I think
> some files where left in more than one place (like mxmlc).
>
> If you could take a look at it, that will for sure fix the issue. You have
> TDJ and the other project to test if that works and now we know that is
> better to try with CMD+SHIFT+ENTER, then "Build Debug with AS3 Extension
> Tour de Jewel"
>
>
>

Re: youtube statistics

2021-02-20 Thread Carlos Rovira
Sorting by the average views per tracks:
>
> playlisttitle,viewcount,likecount,videos,avgview
> ApacheCon @Home 2020: Keynotes,13131,142,15,875.4
> ApacheCon @Home 2020: Royale,1983,53,5,396.6
> ApacheCon @Home 2020: Incubator,3415,55,11,310.45454545454544
> ApacheCon @Home 2020: Streaming,3408,63,15,227.2
> ApacheCon @Home 2020: Cassandra,4119,99,19,216.78947368421052
> ApacheCon @Home 2020: IoT,1917,41,10,191.7
> ApacheCon @Home 2020: Machine Learning,1637,52,9,181.89
> ApacheCon @Home 2020: Big Data (Track 1),3143,69,18,174.61
> ApacheCon @Home 2020: Geospatial,1776,24,11,161.45454545454547
> ApacheCon @Home 2020: cTAKES,1281,13,9,142.34
> ApacheCon @Home 2020: Camel/Integration,1892,42,14,135.14285714285714
> ApacheCon @Home 2020: Big Data (Track 2),2281,54,17,134.1764705882353
> ApacheCon @Home 2020: Tomcat,1334,21,13,102.61538461538461
> ApacheCon @Home 2020: Fineract,1620,34,16,101.25
> ApacheCon @Home 2020: Groovy,1239,29,18,68.83
>
>
> Hope we will have the popular tracks in 2021, again ;-)
>
> Marton
>
> --
> Andrew Wetmore
> Technical Writer-Editor
> Infra
> *Apache Software Foundation*
> andr...@apache.org
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Uncaught TypeError: this.mx_rpc_remoting_mxml_RemoteObject_document.willTrigger is not a function

2021-02-20 Thread Carlos Rovira
Hi,

thanks for the report. Unfortunately, in my case I never saw that error
before. Did you get a basic communication? or is your first attemp?
If not I recommend you to start from scratch with very basic things like
call a java method and then if success, return a string, and things like
that.
Then as you get it working go further. Then as you go complex, if you still
find this issue, please let us know, but by that time you'll probably will
share more info so we can know better how to help to solve this problem.

thanks


El jue, 18 feb 2021 a las 18:41, gbarbosa ()
escribió:

> Hi Royale Team,
>
> Currently migrating from flex to royale and trying to poc amf
> communication.
> I couldn't find any info on this error and since it's erroring out in sdk
> code I thought I'd post here.
>
> Here's the stack trace from the browser:
>
> Uncaught TypeError:
> this.mx_rpc_remoting_mxml_RemoteObject_document.willTrigger is not a
> function
> RemoteObject.js:72:108
> dispatchEvent
> https://dev.local/royale/mx/rpc/remoting/mxml/RemoteObject.js:72
> http_$$www_adobe_com$2006$flex$mx$internal__dispatchRpcEvent
> https://dev.local/royale/mx/rpc/AbstractOperation.js:119
> mx_rpc_AsyncDispatcher_timerEventHandler
> https://dev.local/royale/mx/rpc/AsyncDispatcher.js:40
> fireListeners
> https://dev.local/royale/org/apache/royale/events/EventDispatcher.js:97
> dispatchEventInternal_
> https://dev.local/royale/library/closure/goog/events/eventtarget.js:382
> dispatchEvent
> https://dev.local/royale/org/apache/royale/events/EventDispatcher.js:72
> org_apache_royale_utils_Timer_timerHandler
> https://dev.local/royale/org/apache/royale/utils/Timer.js:114
>
> I looked in the rpc/remoting/mxml/RemoteObject.as file and I saw it's using
> document. I know in the docs it said royale would be using component not
> sure if that applies to sdk code.
>
> I also saw a commit in 2018 that had willTrigger for the swf compilation,
> but no such function for the js compilation. I'm still learning flex and
> as3
> so apologies if these guesses are way off.
>
> Any help would be appreciated. Thanks!
>
> -GB
>
>
>
>
>
>
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Align Maven IDE distribution with Ant IDE distribution

2021-02-20 Thread Carlos Rovira
Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Heidra,
> > >
> > > I just updated Carlos' example to have the same type of setting
> > > (C:\\Temp\\RoyaleSDK is where I have my Maven build generate the SDK):
> > >
> > > setings.js:
> > > {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > >
> > > workspace-code-workspace
> > > {
> > > "folders": [
> > > {
> > > "path": ".."
> > > }
> > > ],
> > > "settings": {
> > > "as3mxml.sdk.framework": "C:\\Temp\\RoyaleSDK",
> > > "as3mxml.sdk.editor": "C:\\Temp\\RoyaleSDK"
> > > }
> > > }
> > >
> > > I'm not getting any errors from VSCode. But well ... if I hit
> > > SHIFT+Enter it starts doing something where if failed prior to my
> > > changes this morning and is no longer complaining, but it's also not
> > > doing much (I can't see it create a "bin" directory)
> > >
> > > Chris
> > >
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Maria Jose Esteve 
> > > Gesendet: Freitag, 19. Februar 2021 10:53
> > > An: dev@royale.apache.org
> > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > If I don't compile with ANT, the mxml extension in vsCode IDE, it
> > > doesn't recognize the valid asjs directory for "as3mxml.sdk.editor":
> > > ...
> > > "settings": {
> > > "as3mxml.sdk.framework":
> > > "d:\\Apache\\apache-royale-0.9.8-bin-js\\royale-asjs",
> > > "as3mxml.sdk.editor":
> > > "D:\\Develop_Royale\\Projects\\Royale-SDK\\royale-asjs" <
> > > [download folder repo royale-asjs]
> > > }
> > > }
> > >
> > > The error is:
> > > " as3mxml.sdk.editor in settings does not point to a valid SDK.
> > > Requires..."
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -Mensaje original-
> > > De: Piotr Zarzycki  Enviado el: viernes, 19
> > > de febrero de 2021 10:44
> > > Para: Apache Royale Development 
> > > Asunto: Re: Align Maven IDE distribution with Ant IDE distribution
> > >
> > > Hi Chris,
> > >
> > > I just tried your changes and I have same issue. I need to understand
> > > what has change enough significantly that it causes compilation fail
> > > in such way. It doesn't happen with SDK prepared by ANT.
> > >
> > > Thanks,
> > > Piotr
> > >
> > > pt., 19 lut 2021 o 10:33 Maria Jose Esteve 
> > napisał(a):
> > >
> > > > @Chris you're right, sorry, I didn't download your last commit.
> > > > I'm sorry.
> > > > Hiedra.
> > > >
> > > > -Mensaje original-
> > > > De: Christofer Dutz  Enviado el: viernes,
> > > > 19 de febrero de 2021 10:17
> > > > Para: dev@royale.apache.org
> > > > Asunto: AW: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > I'll try to guess what you wanted to say here ...
> > > >
> > > > But I think these are exactly the changes I comitted a an hour ago,
> > > right?
> > > > At least in general I replaced all the references to names with
> > > > versions to the changed ones.
> > > >
> > > >
> > > > Chris
> > > >
> > > >
> > > >
> > > > -Ursprüngliche Nachricht-
> > > > Von: Maria Jose Esteve 
> > > > Gesendet: Freitag, 19. Februar 2021 10:01
> > > > An: dev@royale.apache.org
> > > > Betreff: RE: Align Maven IDE distribution with Ant IDE distribution
> > > >
> > > > Hi,
> > > > Mi distribución hace referencia en el fichero
> > > > "./frameworks/royale-config.xml" a las librerías:
> > > >
> > > >   
> > > >
> > > > ../js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.
> > > > sw
> > > > c
> > > >

Re: Royale nightly server down again

2021-02-20 Thread Carlos Rovira
Hi Chris,

thanks, I was thinking we need infra's hand here to sete up agents.
Yes, please go ahead with this task. I think for sure that you're the best
qualified in the team and with all knowledge to make this in few time.

Many thanks! :)

El jue, 18 feb 2021 a las 23:16, Christofer Dutz ()
escribió:

> Hi all,
>
> There's nothing we need to have them setup for us (I think)
>
> Only if we insist on them installing the Flashplayer ... then we might
> need help.
>
> We already have a Space (But I should probably double check cause I don't
> know if all spaces have been migrated to the new Jenkins)
> Unfortunately today of all days was one where there seem to have been huge
> issues. Hopefully they'll have service back up and running soon.
>
> If you want, I would volunteer to take care of this.
>
> Chris
>
>
> -Ursprüngliche Nachricht-
> Von: Carlos Rovira 
> Gesendet: Donnerstag, 18. Februar 2021 17:32
> An: Apache Royale Development 
> Betreff: Re: Royale nightly server down again
>
> Hi Harbs,
>
> I think the best is to open a ticket in infra to request the needs so they
> setup for us. The important thing here is that all things we want to use
> are behind Apache systems to ensure we have infra supporting us. Then once
> we have the resources we can plan the set up.
>
> What do you think?
>
>
>
>
> El jue, 18 feb 2021 a las 16:53, Harbs () escribió:
>
> > Sounds cool.
> >
> > What I would love to be able to do is:
> > 1. have a build machine (I think Windows is still a requirement as
> > long as we’re using SWF).
> > 2. Push the nightly builds to something like S3 to make downloads
> > faster and easier (and not require a load on the build server.
> > 3. Extra credit if we can get it to work with Cloudfront or something
> > for cdn downloads of the nightlies.
> >
> > I’d also like to be able to setup multiple servers to be able to test
> > reproducible builds.
> >
> > > On Feb 18, 2021, at 5:41 PM, Carlos Rovira 
> > wrote:
> > >
> > > Hi Andrew,
> > >
> > > if Apache infra supports AWS out-of-the-box, that will be amazing
> > > and a solution for our problem! :)
> > >
> > >
> > >
> > > El jue, 18 feb 2021 a las 16:35, Andrew Wetmore
> > > ()
> > > escribió:
> > >
> > >> Infra has some Apache-dedicated AWS space available, I believe. If
> > Royale
> > >> starts a Jira ticket aimed at INFRA, they can talk us through what
> > >> is involved.
> > >>
> > >> I will ask at today's team meeting.
> > >>
> > >> Andrew
> > >>
> > >> On Thu, Feb 18, 2021 at 11:30 AM Carlos Rovira
> > >>  > >
> > >> wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> my motivation behind of the use of Apache machines is to be "as
> > >> compliant"
> > >>> as possible with Apache, since we are an apache project. We use
> > >>> AWS and love it, but setting up another machine that is tied to
> > >>> one of us
> > >> wouldn't
> > >>> be the same problem in the end? I mean, if we rely on apache
> > >>> infrastructure, we always can get the help of Apache infra...but
> > >>> if we
> > do
> > >>> things on our own that means we depend on us to be accessible to
> > >>> avoid
> > >> the
> > >>> rest of the project to be on a halt.
> > >>>
> > >>> That doesn't mean that we shouldn't use AWS... but just one to
> > >>> make a
> > >> point
> > >>> so you put in the balance, and if finally you want to go that
> > >>> route is because we consider it too.
> > >>>
> > >>> thanks
> > >>>
> > >>>
> > >>>
> > >>> El jue, 18 feb 2021 a las 11:15, Harbs ()
> > >> escribió:
> > >>>
> > >>>> Let’s connect early next week on this?
> > >>>>
> > >>>>> On Feb 18, 2021, at 12:04 PM, Christofer Dutz <
> > >>> christofer.d...@c-ware.de>
> > >>>> wrote:
> > >>>>>
> > >>>>> I could definitely help with that.
> > >>>>>
> > >>>>> Guess I've sort of grown on Apache's infrastructure over the years.
> > >>>>>
> > >>>>> Chris
> > >>>>>
> &g

Re: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Carlos Rovira
Hi, I think I talked very quickly, sorry, there seems to be a problem.

@Christofer Dutz  you can download this project:

https://github.com/apache/royale-asjs/files/6004363/ToggleButtonBarIssue.zip

Then using VSCode with AS3 and adding the Maven distribution.
Then hit CTRL+ENTER and you will get the following fail. Using ANT
distribution is working fine.
Can you take a look?

Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
--source-map=true
--html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id
The project 'App' has been successfully compiled and optimized.
Compile status: 0
Elapsed time: 14.211105399 seconds
Feb 18, 2021 5:43:40 PM com.google.javascript.jscomp.LoggerErrorManager
printSummary
INFO: 0 error(s), 0 warning(s), 96.5% typed
(fcsh) quit
Compiler shell exited with code: 0
Royale Compiler Shell
(fcsh) mxmlc --debug=false +configname=royale --targets=JSRoyale
--source-map=true
--html-template=src/html/jewel-example-index-template.html
--theme=${royalelib}/themes/Jewel-Light-Flat-Primary-Sapphire-Theme/src/main/resources/defaults.css
--source-path+=src --library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
-js-dynamic-access-unknown-members=true -- src/App.mxml
fcsh: Assigned 1 as the compile target id
Compile status: 5
Elapsed time: 0.618407478 seconds
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-js-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)




/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml(81):
col: 0 Error: unable to open
'/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/js/libs/royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc'.
/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks/royale-config.xml
(line: 81)


(fcsh)
Quick Compile failed. Errors in compiler output.

El jue, 18 feb 2021 a las 17:26, Carlos Rovira ()
escribió:

> Hi,
>
> I rebuilt all from scratch just now and finally the distribution too and
> tried in VSCode and all seems to work fine for me.
>
> El jue, 18 feb 2021 a las 16:30, Christofer Dutz (<
> christofer.d...@c-ware.de>) escribió:
>
>> Hi Piotr,
>>
>> that class is located in lib\external\flex-tool-api.jar
>> At least in my distribution it's there and it contains the class.
>>
>> How are you calling the build that's failing?
>>
>> Chris
>>
>> -Ursprüngliche Nachricht-
>> Von: Piotr Zarzycki 
>> Gesendet: Donnerstag, 18. Februar 2021 16:22
>> An: Apache Royale Development 
>> Betreff: Re: Align Maven IDE distribution with Ant IDE distribution
>>
>> Chris,
>>
>> I just checked and I'm not able build project anymore using distribution:
>>
>> : Using Royale SDK: "D:\Work\royale_ide\distribution"
>> : Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms356m -Xmx3000m
>> : Error: Could not find or load main class
>> org.apache.royale.compiler.clients.MXMLJSC
>> : Caused by: java.lang.NoClassDefFoundError:
>> org/apache/flex/tools/FlexTool
>>
>> I'm done for today, so I will answer anything tomorrow.
>>
>> czw., 18 lut 2021 o 16:05 Christofer Dutz 
>> napisał(a):
>>
>> > Ok ...
>> >
>> > so I just pushed another change. Now the distribution should also
>> > contain an empty spark.css, just like the Ant one.
>> >
>> > Chris
>> >
>> >
>> > -Ursprüngliche Nachricht-
>> > Von: Christofer Dutz 
>> > Gesendet: Donnerstag, 18. Februar 2021 15:58
>> > An: dev@royale.apache.org
>> > Betreff: AW: Align Maven IDE distribution with Ant IDE distribution
>> >
>> > Ok,
>> >
>> > so that should now be fixed. Leaves the "spark.css"
>> > Having had a look, it seems as if the Ant build creates an empty
>> spark.css.
>> >
>> > Is this all we need? If yes, then I'll have that in ther in no time.
>> >
>> > Chris
>> >
>> > -Ursprüngliche Nachricht-
>> > Von: Piotr Zarzycki 
>> &g

Re: Royale nightly server down again

2021-02-18 Thread Carlos Rovira
Hi Harbs,

I think the best is to open a ticket in infra to request the needs so they
setup for us. The important thing here is that all things we want to use
are behind Apache systems to ensure we have infra supporting us. Then once
we have the resources we can plan the set up.

What do you think?




El jue, 18 feb 2021 a las 16:53, Harbs () escribió:

> Sounds cool.
>
> What I would love to be able to do is:
> 1. have a build machine (I think Windows is still a requirement as long as
> we’re using SWF).
> 2. Push the nightly builds to something like S3 to make downloads faster
> and easier (and not require a load on the build server.
> 3. Extra credit if we can get it to work with Cloudfront or something for
> cdn downloads of the nightlies.
>
> I’d also like to be able to setup multiple servers to be able to test
> reproducible builds.
>
> > On Feb 18, 2021, at 5:41 PM, Carlos Rovira 
> wrote:
> >
> > Hi Andrew,
> >
> > if Apache infra supports AWS out-of-the-box, that will be amazing and a
> > solution for our problem! :)
> >
> >
> >
> > El jue, 18 feb 2021 a las 16:35, Andrew Wetmore ()
> > escribió:
> >
> >> Infra has some Apache-dedicated AWS space available, I believe. If
> Royale
> >> starts a Jira ticket aimed at INFRA, they can talk us through what is
> >> involved.
> >>
> >> I will ask at today's team meeting.
> >>
> >> Andrew
> >>
> >> On Thu, Feb 18, 2021 at 11:30 AM Carlos Rovira  >
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>> my motivation behind of the use of Apache machines is to be "as
> >> compliant"
> >>> as possible with Apache, since we are an apache project. We use AWS and
> >>> love it, but setting up another machine that is tied to one of us
> >> wouldn't
> >>> be the same problem in the end? I mean, if we rely on apache
> >>> infrastructure, we always can get the help of Apache infra...but if we
> do
> >>> things on our own that means we depend on us to be accessible to avoid
> >> the
> >>> rest of the project to be on a halt.
> >>>
> >>> That doesn't mean that we shouldn't use AWS... but just one to make a
> >> point
> >>> so you put in the balance, and if finally you want to go that route is
> >>> because we consider it too.
> >>>
> >>> thanks
> >>>
> >>>
> >>>
> >>> El jue, 18 feb 2021 a las 11:15, Harbs ()
> >> escribió:
> >>>
> >>>> Let’s connect early next week on this?
> >>>>
> >>>>> On Feb 18, 2021, at 12:04 PM, Christofer Dutz <
> >>> christofer.d...@c-ware.de>
> >>>> wrote:
> >>>>>
> >>>>> I could definitely help with that.
> >>>>>
> >>>>> Guess I've sort of grown on Apache's infrastructure over the years.
> >>>>>
> >>>>> Chris
> >>>>>
> >>>>> -Ursprüngliche Nachricht-
> >>>>> Von: Harbs 
> >>>>> Gesendet: Donnerstag, 18. Februar 2021 11:03
> >>>>> An: Apache Royale Development 
> >>>>> Betreff: Re: Royale nightly server down again
> >>>>>
> >>>>> I’m not sure what would be involved in getting it working on Apache
> >>>> hardware.
> >>>>>
> >>>>> I can try and setup a AWS server to replace the Azure one which will
> >>> not
> >>>> run out of credits.
> >>>>>
> >>>>> (The reason I’m suggesting AWS is because I’m more familiar with
> >> that.)
> >>>>>
> >>>>>> On Feb 18, 2021, at 10:16 AM, Carlos Rovira <
> >> carlosrov...@apache.org>
> >>>> wrote:
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> just report nightlies are on again. I think at 18th of each month
> >>>>>> azure credits are setup on Alex's account and for this reason is on
> >>>> again.
> >>>>>>
> >>>>>> El mar, 16 feb 2021 a las 20:01, Maria Jose Esteve
> >>>>>> ()
> >>>>>> escribió:
> >>>>>>
> >>>>>>> Yes, it falls out often, I had not detected it in a couple of
> >> weeks,
> >>>>>>> but the weekend

Re: Align Maven IDE distribution with Ant IDE distribution

2021-02-18 Thread Carlos Rovira
t; > > > No it's not about not picking up by IDE at all. Moonshine and
> > > > VSCode are able to build projects using Maven distribution
> > > > package! It is about project which are mixed for example when user
> > > > wanted to use Jewel module + RemoteObject class from MXRoyale
> > > > module. In that case user need to point explicilty as a compiler
> > > > options in IDE that he wanted to have SWC included and need to
> > > > exclude css from that swc to
> > > avoid problems.
> > > >
> > > > It is happen like that:
> > > >
> > > >   -js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
> > > > -compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css
> > > >
> > > > If I would like to use maven distribution user need to know
> > > > version for that compiler options. It is even more tricky when
> > > > your swc is called
> > > > -> MXRoyale-0.9.8-20210217.181012-913-js.swc
> > > >
> > > > -exclude-defaults-css-files=MXRoyale-0.9.8-js.swc:defaults.css
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > >
> > > >
> > > >
> > > > czw., 18 lut 2021 o 14:47 Christofer Dutz
> > > > 
> > > > napisał(a):
> > > >
> > > > > Hi Piotr,
> > > > >
> > > > > And is really the version-suffix causing it to not be picked up
> > > > > by the IDEs?
> > > > >
> > > > > Chris
> > > > >
> > > > > -Ursprüngliche Nachricht-
> > > > > Von: Piotr Zarzycki 
> > > > > Gesendet: Donnerstag, 18. Februar 2021 11:42
> > > > > An: dev@royale.apache.org
> > > > > Betreff: Re: Align Maven IDE distribution with Ant IDE
> > > > > distribution
> > > > >
> > > > > Hi Chris,
> > > > >
> > > > > This is the only thing which seems to be a constant problem here.
> > > > > I personally and some users will be much more happy having that
> > change.
> > > > >
> > > > > Thanks,
> > > > > Piotr
> > > > >
> > > > > On Thu, 18 Feb 2021 at 11:03, Christofer Dutz
> > > > > 
> > > > > wrote:
> > > > >
> > > > > > Hi Piotr,
> > > > > >
> > > > > > I'd be happy to help with that.
> > > > > >
> > > > > > I did simply ask for a list of things that need to be changed
> > > > > > in order to get things working, but never got said list, so I
> > > > > > never knew what I could do to make the Maven distribution
> > > > > > match up to the
> > > > Ant built one.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > >
> > > > > > -Ursprüngliche Nachricht-
> > > > > > Von: Piotr Zarzycki 
> > > > > > Gesendet: Donnerstag, 18. Februar 2021 11:01
> > > > > > An: Apache Royale Development 
> > > > > > Betreff: Align Maven IDE distribution with Ant IDE
> > > > > > distribution
> > > > > >
> > > > > > Hi Guys,
> > > > > >
> > > > > > It's been couple of times when user complains that he have
> > > > > > problems with using Maven distribution vs Ant distribution in
> > > > > > IDE in a mixed project Jewel + MX/Spark etc.
> > > > > >
> > > > > > Can we have that resolve once for all and adjust Maven
> > > > > > distribution folder to produce proper names of swcs ?
> > > > > >
> > > > > > Currently when I build Maven IDE distribution I have:
> > > > > >
> > > > > > MXRoyale-0.9.8-20210215.234230-908-js.swc
> > > > > >
> > > > > > When I build Ant IDE distribution I have:
> > > > > >
> > > > > >   MXRoyale-js.swc
> > > > > >
> > > > > > Thanks,
> > > > > > --
> > > > > >
> > > > > > Piotr Zarzycki
> > > > > >
> > > > > --
> > > > >
> > > > > Piotr Zarzycki
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Piotr Zarzycki
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Royale nightly server down again

2021-02-18 Thread Carlos Rovira
Hi Andrew,

if Apache infra supports AWS out-of-the-box, that will be amazing and a
solution for our problem! :)



El jue, 18 feb 2021 a las 16:35, Andrew Wetmore ()
escribió:

> Infra has some Apache-dedicated AWS space available, I believe. If Royale
> starts a Jira ticket aimed at INFRA, they can talk us through what is
> involved.
>
> I will ask at today's team meeting.
>
> Andrew
>
> On Thu, Feb 18, 2021 at 11:30 AM Carlos Rovira 
> wrote:
>
> > Hi,
> >
> > my motivation behind of the use of Apache machines is to be "as
> compliant"
> > as possible with Apache, since we are an apache project. We use AWS and
> > love it, but setting up another machine that is tied to one of us
> wouldn't
> > be the same problem in the end? I mean, if we rely on apache
> > infrastructure, we always can get the help of Apache infra...but if we do
> > things on our own that means we depend on us to be accessible to avoid
> the
> > rest of the project to be on a halt.
> >
> > That doesn't mean that we shouldn't use AWS... but just one to make a
> point
> > so you put in the balance, and if finally you want to go that route is
> > because we consider it too.
> >
> > thanks
> >
> >
> >
> > El jue, 18 feb 2021 a las 11:15, Harbs ()
> escribió:
> >
> > > Let’s connect early next week on this?
> > >
> > > > On Feb 18, 2021, at 12:04 PM, Christofer Dutz <
> > christofer.d...@c-ware.de>
> > > wrote:
> > > >
> > > > I could definitely help with that.
> > > >
> > > > Guess I've sort of grown on Apache's infrastructure over the years.
> > > >
> > > > Chris
> > > >
> > > > -Ursprüngliche Nachricht-
> > > > Von: Harbs 
> > > > Gesendet: Donnerstag, 18. Februar 2021 11:03
> > > > An: Apache Royale Development 
> > > > Betreff: Re: Royale nightly server down again
> > > >
> > > > I’m not sure what would be involved in getting it working on Apache
> > > hardware.
> > > >
> > > > I can try and setup a AWS server to replace the Azure one which will
> > not
> > > run out of credits.
> > > >
> > > > (The reason I’m suggesting AWS is because I’m more familiar with
> that.)
> > > >
> > > >> On Feb 18, 2021, at 10:16 AM, Carlos Rovira <
> carlosrov...@apache.org>
> > > wrote:
> > > >>
> > > >> Hi,
> > > >>
> > > >> just report nightlies are on again. I think at 18th of each month
> > > >> azure credits are setup on Alex's account and for this reason is on
> > > again.
> > > >>
> > > >> El mar, 16 feb 2021 a las 20:01, Maria Jose Esteve
> > > >> ()
> > > >> escribió:
> > > >>
> > > >>> Yes, it falls out often, I had not detected it in a couple of
> weeks,
> > > >>> but the weekend is usually inaccessible.
> > > >>>
> > > >>> Hiedra.
> > > >>>
> > > >>> -Mensaje original-
> > > >>> De: Carlos Rovira  Enviado el: martes, 16
> > de
> > > >>> febrero de 2021 13:18
> > > >>> Para: Apache Royale Development 
> > > >>> Asunto: Re: Royale nightly server down again
> > > >>>
> > > >>> Hi folks,
> > > >>>
> > > >>> the nightly build server is still down. Can someone take a look?
> > > >>> thanks in advance for any help you can provide
> > > >>>
> > > >>>
> > > >>> El lun, 15 feb 2021 a las 17:43, Carlos Rovira
> > > >>> ()
> > > >>> escribió:
> > > >>>
> > > >>>> Hi,
> > > >>>>
> > > >>>> It seems that the server for nightly builds is down again.
> > > >>>>
> > > >>>>
> > > >>>>
> > http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-as
> > > >>>> js
> > > >>>> /lastSuccessfulBuild/artifact/out/
> > > >>>>
> > > >>>>
> > http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-as
> > > >>>> js _jsonly/lastSuccessfulBuild/artifact/out/
> > > >>>>
> > > >>>> This problem is happening from time to time and seems a bit
> > > cumbersome.
> > > >>>>
> > > >>>> I still can't understand why we can't rely on Apache
> infrastructure
> > > >>>> for this...since we are an Apache project, we shouldn't need to
> have
> > > >>>> this kind of extra build server.
> > > >>>>
> > > >>>>
> > > >>>> --
> > > >>>> Carlos Rovira
> > > >>>> Apache Member & Apache Royale PMC
> > > >>>> *Apache Software Foundation*
> > > >>>> http://about.me/carlosrovira
> > > >>>>
> > > >>>>
> > > >>>
> > > >>> --
> > > >>> Carlos Rovira
> > > >>> Apache Member & Apache Royale PMC
> > > >>> *Apache Software Foundation*
> > > >>> http://about.me/carlosrovira
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Carlos Rovira
> > > >> Apache Member & Apache Royale PMC
> > > >> *Apache Software Foundation*
> > > >> http://about.me/carlosrovira
> > > >
> > >
> > >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
>
>
> --
> Andrew Wetmore
>
> http://cottage14.blogspot.com/
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Royale nightly server down again

2021-02-18 Thread Carlos Rovira
Hi,

my motivation behind of the use of Apache machines is to be "as compliant"
as possible with Apache, since we are an apache project. We use AWS and
love it, but setting up another machine that is tied to one of us wouldn't
be the same problem in the end? I mean, if we rely on apache
infrastructure, we always can get the help of Apache infra...but if we do
things on our own that means we depend on us to be accessible to avoid the
rest of the project to be on a halt.

That doesn't mean that we shouldn't use AWS... but just one to make a point
so you put in the balance, and if finally you want to go that route is
because we consider it too.

thanks



El jue, 18 feb 2021 a las 11:15, Harbs () escribió:

> Let’s connect early next week on this?
>
> > On Feb 18, 2021, at 12:04 PM, Christofer Dutz 
> wrote:
> >
> > I could definitely help with that.
> >
> > Guess I've sort of grown on Apache's infrastructure over the years.
> >
> > Chris
> >
> > -Ursprüngliche Nachricht-
> > Von: Harbs 
> > Gesendet: Donnerstag, 18. Februar 2021 11:03
> > An: Apache Royale Development 
> > Betreff: Re: Royale nightly server down again
> >
> > I’m not sure what would be involved in getting it working on Apache
> hardware.
> >
> > I can try and setup a AWS server to replace the Azure one which will not
> run out of credits.
> >
> > (The reason I’m suggesting AWS is because I’m more familiar with that.)
> >
> >> On Feb 18, 2021, at 10:16 AM, Carlos Rovira 
> wrote:
> >>
> >> Hi,
> >>
> >> just report nightlies are on again. I think at 18th of each month
> >> azure credits are setup on Alex's account and for this reason is on
> again.
> >>
> >> El mar, 16 feb 2021 a las 20:01, Maria Jose Esteve
> >> ()
> >> escribió:
> >>
> >>> Yes, it falls out often, I had not detected it in a couple of weeks,
> >>> but the weekend is usually inaccessible.
> >>>
> >>> Hiedra.
> >>>
> >>> -Mensaje original-
> >>> De: Carlos Rovira  Enviado el: martes, 16 de
> >>> febrero de 2021 13:18
> >>> Para: Apache Royale Development 
> >>> Asunto: Re: Royale nightly server down again
> >>>
> >>> Hi folks,
> >>>
> >>> the nightly build server is still down. Can someone take a look?
> >>> thanks in advance for any help you can provide
> >>>
> >>>
> >>> El lun, 15 feb 2021 a las 17:43, Carlos Rovira
> >>> ()
> >>> escribió:
> >>>
> >>>> Hi,
> >>>>
> >>>> It seems that the server for nightly builds is down again.
> >>>>
> >>>>
> >>>> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-as
> >>>> js
> >>>> /lastSuccessfulBuild/artifact/out/
> >>>>
> >>>> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-as
> >>>> js _jsonly/lastSuccessfulBuild/artifact/out/
> >>>>
> >>>> This problem is happening from time to time and seems a bit
> cumbersome.
> >>>>
> >>>> I still can't understand why we can't rely on Apache infrastructure
> >>>> for this...since we are an Apache project, we shouldn't need to have
> >>>> this kind of extra build server.
> >>>>
> >>>>
> >>>> --
> >>>> Carlos Rovira
> >>>> Apache Member & Apache Royale PMC
> >>>> *Apache Software Foundation*
> >>>> http://about.me/carlosrovira
> >>>>
> >>>>
> >>>
> >>> --
> >>> Carlos Rovira
> >>> Apache Member & Apache Royale PMC
> >>> *Apache Software Foundation*
> >>> http://about.me/carlosrovira
> >>>
> >>
> >>
> >> --
> >> Carlos Rovira
> >> Apache Member & Apache Royale PMC
> >> *Apache Software Foundation*
> >> http://about.me/carlosrovira
> >
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Creating a linux agent on Apache infra

2021-02-18 Thread Carlos Rovira
Hi,

I was talking with Chris about what options we have to get builds on Apache.

It seems that we can get a linux agent to run the builds and he's happy to
help there.
He can set up this in almost no time, so we can have this done very soon.

The downside is that running SWF tests probably will not be possible as
well as set up with ANT. In this case that should be just Maven.

I know this could be a problem for some of you, but I think that shouldn't
stop us from setting up that agent, so we can rely on official apache
infrastructure.

In summary, that will mean in the end that SWF will still be served from
Alex's Azure server while JS can be served from our official Apache agent.
For me, a significant step forward. So moving forward at least the JS build
will make our builds more reliable and supported, and that's a good thing
for Royale and for all the users.

In the end, the real impact will be that the link for JS builds in our site
will change and point to the url of our official apache build agent,
while the SWF remains unchanged.

If nobody opposes, I'll ask Chris to request the apache build agente and
set it up.

Thoughts?

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Royale nightly server down again

2021-02-18 Thread Carlos Rovira
Hi,

just report nightlies are on again. I think at 18th of each month azure
credits are setup on Alex's account and for this reason is on again.

El mar, 16 feb 2021 a las 20:01, Maria Jose Esteve ()
escribió:

> Yes, it falls out often, I had not detected it in a couple of weeks, but
> the weekend is usually inaccessible.
>
> Hiedra.
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: martes, 16 de febrero de 2021 13:18
> Para: Apache Royale Development 
> Asunto: Re: Royale nightly server down again
>
> Hi folks,
>
> the nightly build server is still down. Can someone take a look?
> thanks in advance for any help you can provide
>
>
> El lun, 15 feb 2021 a las 17:43, Carlos Rovira ()
> escribió:
>
> > Hi,
> >
> > It seems that the server for nightly builds is down again.
> >
> >
> > http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs
> > /lastSuccessfulBuild/artifact/out/
> >
> > http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs
> > _jsonly/lastSuccessfulBuild/artifact/out/
> >
> > This problem is happening from time to time and seems a bit cumbersome.
> >
> > I still can't understand why we can't rely on Apache infrastructure
> > for this...since we are an Apache project, we shouldn't need to have
> > this kind of extra build server.
> >
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Royale nightly server down again

2021-02-16 Thread Carlos Rovira
Hi folks,

the nightly build server is still down. Can someone take a look?
thanks in advance for any help you can provide


El lun, 15 feb 2021 a las 17:43, Carlos Rovira ()
escribió:

> Hi,
>
> It seems that the server for nightly builds is down again.
>
>
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/
>
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/lastSuccessfulBuild/artifact/out/
>
> This problem is happening from time to time and seems a bit cumbersome.
>
> I still can't understand why we can't rely on Apache infrastructure for
> this...since we are an Apache project, we shouldn't need to have this kind
> of extra build server.
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Royale nightly server down again

2021-02-15 Thread Carlos Rovira
Hi,

It seems that the server for nightly builds is down again.

http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/lastSuccessfulBuild/artifact/out/

This problem is happening from time to time and seems a bit cumbersome.

I still can't understand why we can't rely on Apache infrastructure for
this...since we are an Apache project, we shouldn't need to have this kind
of extra build server.


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Extends Jewel Badge

2021-02-04 Thread Carlos Rovira
Hi Maria Jose,
all seems right to me
If you want to add it to Royale feel free to create a PR :)
thanks

El mié, 3 feb 2021 a las 19:19, Maria Jose Esteve ()
escribió:

> Hi,
> Well, that's how I left it:
>
> package com.mjesteve.jewel.beads.controls
> {
> import org.apache.royale.jewel.Label;
> import org.apache.royale.events.MouseEvent;
> import org.apache.royale.jewel.beads.controls.Badge;
>
> [Event(name="click", type="org.apache.royale.events.MouseEvent")]
>
> /**
>  *  The Badge class provides a small status descriptors for UI
> elements.
>  *
>  *  A Badge is an onscreen notification element consists of a
> small circle,
>  *  typically containing a number or other characters, that appears in
>  *  proximity to another object
>  *
>  *  The BadgeOnClick class is a Badge extension that dispatches
> the MouseClick Event.
>  *
>  *  @langversion 3.0
>  *  @playerversion Flash 10.2
>  *  @playerversion AIR 2.6
>  *  @productversion Royale 0.9.6
>  */
> public class BadgeOnClick extends
> org.apache.royale.jewel.beads.controls.Badge
> {
> /**
>  *  constructor.
>  *
>  *  @langversion 3.0
>  *  @playerversion Flash 10.2
>  *  @playerversion AIR 2.6
>  *  @productversion Royale 0.9.6
>  */
> public function BadgeOnClick()
> {
> super();
> }
> /**
>  * used to create the badge ui element
>  * that will be a Label
>  */
> override protected function createBadge():Label
> {
> var tmpbadge:Label = super.createBadge();
>
> tmpbadge.addEventListener("click", function():void{
> dispatchEvent(new MouseEvent("click"));
> });
> return tmpbadge;
> }
> }
> }
>
> @Carlos, I haven't been able to get it to work by changing this:
>
> > you can change:
> >
> > var badge:Label = new Label();
> > badge.typeNames = "jewel badge";
>
> > with just:
> > super.createdBadge();
>
> If my modification is not correct, please tell me.
> Thx.
> Hiedra.
>
> -Mensaje original-
> De: Maria Jose Esteve 
> Enviado el: miércoles, 3 de febrero de 2021 3:06
> Para: dev@royale.apache.org
> Asunto: RE: Extends Jewel Badge
>
> Thanks Carlos, I just saw your commit, I'll review it tomorrow.
>
> Hiedra.
>
> -Mensaje original-
> De: Carlos Rovira  Enviado el: martes, 2 de
> febrero de 2021 18:30
> Para: Apache Royale Development 
> Asunto: Re: Extends Jewel Badge
>
> Hi Maria Jose,
>
> yes a bead could be convenient for some uses.
>
> you can change:
>
> var badge:Label = new Label();
> badge.typeNames = "jewel badge";
>
> with just:
>
> super.createdBadge();
>
> also this will not be needed:
>
> public override function set strand(value:IStrand):void
> {
> super.strand = value;
> }
>
> thanks
>
> El lun, 1 feb 2021 a las 22:18, Maria Jose Esteve ()
> escribió:
>
> > Hello again, I have rectified the bead, maybe now it is more correct?
> > (I share it in case someone is interested.)
> >
> > import org.apache.royale.core.IStrand;
> > import org.apache.royale.jewel.Label;
> > import org.apache.royale.events.MouseEvent;
> > import org.apache.royale.jewel.beads.controls.Badge;
> >
> > [Event(name="click",
> > type="org.apache.royale.events.MouseEvent")]
> >
> > /**
> >  *  The Badge class provides a small status descriptors for UI
> > elements.
> >  *
> >  *  A Badge is an onscreen notification element consists of a
> > small circle,
> >  *  typically containing a number or other characters, that appears
> in
> >  *  proximity to another object
> >  *
> >  *  The BadgeOnClick class is a Badge extension that
> > dispatches the MouseClick Event.
> >  */
> > public class BadgeOnClick extends Badge
> > {
> > public function Bad

Re: Extends Jewel Badge

2021-02-02 Thread Carlos Rovira
Hi Maria Jose,

yes a bead could be convenient for some uses.

you can change:

var badge:Label = new Label();
badge.typeNames = "jewel badge";

with just:

super.createdBadge();

also this will not be needed:

public override function set strand(value:IStrand):void
{
super.strand = value;
}

thanks

El lun, 1 feb 2021 a las 22:18, Maria Jose Esteve ()
escribió:

> Hello again, I have rectified the bead, maybe now it is more correct?
> (I share it in case someone is interested.)
>
> import org.apache.royale.core.IStrand;
> import org.apache.royale.jewel.Label;
> import org.apache.royale.events.MouseEvent;
> import org.apache.royale.jewel.beads.controls.Badge;
>
> [Event(name="click", type="org.apache.royale.events.MouseEvent")]
>
> /**
>  *  The Badge class provides a small status descriptors for UI
> elements.
>  *
>  *  A Badge is an onscreen notification element consists of a
> small circle,
>  *  typically containing a number or other characters, that appears in
>  *  proximity to another object
>  *
>  *  The BadgeOnClick class is a Badge extension that dispatches
> the MouseClick Event.
>  */
> public class BadgeOnClick extends Badge
> {
> public function BadgeOnClick()
> {
> super();
> }
> /**
>  * used to create the badge ui element
>  * that will be a Label
>  */
> override protected function createBadge():Label
> {
> var badge:Label = new Label();
> badge.typeNames = "jewel badge";
>
> badge.addEventListener("click", function():void{
> dispatchEvent(new MouseEvent("click"));
> });
> return badge;
> }
> public override function set strand(value:IStrand):void
> {
> super.strand = value;
> }
> }
>
> Thx.
> Hiedra.
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Extends Jewel Badge

2021-02-02 Thread Carlos Rovira
Hi Maria Jose,

just turned badge to protected in my last commit

El lun, 1 feb 2021 a las 20:31, Maria Jose Esteve ()
escribió:

> Hi, I have extended the bead Badge by adding the click () [1] event to it.
> I have override the "createBadge" function because the "private" variable
> badge cannot be referenced directly.
>
> I wanted to propose a change in the Jewel Badge component, change the
> badge variable to "proptected", which is currently "private". Do you see it
> as possible / convenient?
>
> [1]
> import org.apache.royale.core.IStrand;
> import org.apache.royale.jewel.Label;
> import org.apache.royale.events.MouseEvent;
> import org.apache.royale.jewel.beads.controls.Badge;
>
> [Event(name="click", type="org.apache.royale.events.MouseEvent")]
>
> public class BadgeJwExt extends Badge
> {
> public function BadgeJwExt()
> {
> super();
> }
> private var badge2:Label;
> /**
>  * used to create the badge ui element
>  * that will be a Label
>  */
> override protected function createBadge():Label
> {
> badge2 = new Label();
> badge2.typeNames = "jewel badge";
> return badge2;
> }
> public override function set strand(value:IStrand):void
> {
> super.strand = value;
> badge2.addEventListener("click", function():void{
> dispatchEvent(new MouseEvent("click"));
> });
> }
> }
>
>
> Thx.
> Hiedra.
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Error: Could not resolve this tag in ActionScript class

2021-01-21 Thread Carlos Rovira
Hi Mourad,

can't see anything in linkedin :?, anyway the list is the best place for
this kind of consult.
Can you check the actual snapshot [1]?
0.9.7 is near one year old and is not recommended to stay in it.
You should check if 0.9.8-SNAPSHOT is giving you the same problem and also
update nighlty builds as often as possible to detect regressions soon and
report here.

Thanks

[1] https://royale.apache.org/get-involved/


El jue, 21 ene 2021 a las 10:15, ZAMOUN, Mourad
() escribió:

> Hi,
>
> I am using Apache Royale 0.9.7.
>
> my mxml file :
> 
>  xmlns:mx="library://ns.apache.org/royale/mx" xmlns:fx="
> http://ns.adobe.com/mxml/2009; xmlns:js="library://
> ns.apache.org/royale/basic" xmlns:e="library://
> ns.apache.org/royale/express"
> xmlns:s="library://ns.apache.org/royale/spark" xmlns:local="*"
> xmlns:j="library://ns.apache.org/royale/jewel" xmlns:h="library://
> ns.apache.org/royale/html" xmlns:layout="absolute" xmlns:mouseOver=
> "getMouseTarget(event)" xmlns:creationComplete="{init();}"
>
> 
>
> in my royale-config.xml :
>   
>   
>   MXRoyale
>   
>   COMPILE::SWFAUTO
>   COMPILE::JSAUTO
> true
>   
>   ../js/libs/js.swc
>   c:/Program Files (x86)/Adobe/Adobe Flash Builder
> 4.7/sdks/4.6.0/frameworks/libs/framework.swc
>   c:/Program Files (x86)/Adobe/Adobe Flash Builder
> 4.7/sdks/4.6.0/frameworks/libs/core.swc
> 
>
> We have already communicated on this on linkedin
>
> See you soon
>
> cordially
> Mourad ZAMOUN
>
> --
>
>
> This
>
> e-mail transmission (message and any attached files) may contain
> information that is proprietary, privileged and/or confidential to Veolia
> Environnement and/or its affiliates and is intended exclusively for the
> person(s) to whom it is addressed. If you are not the intended recipient,
> please notify the sender by return e-mail and delete all copies of this
> e-mail, including all attachments. Unless expressly authorized, any use,
> disclosure, publication, retransmission or dissemination of this e-mail
> and/or of its attachments is strictly prohibited.
>
>
> Ce message
> electronique et ses fichiers attaches sont strictement confidentiels et
> peuvent contenir des elements dont Veolia Environnement et/ou l'une de ses
> entites affiliees sont proprietaires. Ils sont donc destines a l'usage de
> leurs seuls destinataires. Si vous avez recu ce message par erreur, merci
> de le retourner a son emetteur et de le detruire ainsi que toutes les
> pieces attachees. L'utilisation, la divulgation, la publication, la
> distribution, ou la reproduction non expressement autorisees de ce message
> et de ses pieces attachees sont interdites.
>
> 
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-21 Thread Carlos Rovira
Hi Josh,

that's very cool! Thanks for sharing! :)

So if I understand correctly, right now you can create the
"playerglobal.swc" from maven or ant, but still need to be tested right? or
maybe the playerglobal still needs to be filled with the right APIs?

As soon as this is done, I think it would be a good idea to generate our
own payerglobal.swc and get rid of the Adobe's version in order to give
steps to be more independent and OS.

Thanks



El mié, 20 ene 2021 a las 23:16, Josh Tynjala ()
escribió:

> FYI — I just pushed a prototype playerglobal-source-gen project to the
> royale-compiler repo. It's a command line app that can generate .as files
> from the Flex SDK's Apache-licensed asdoc files for playerglobal.swc. The
> idea is to use these generated .as files to compile our own
> playerglobal.swc that we can distribute under the Apache license. If Adobe
> ever decides to remove playerglobal.swc from their website, we'll have our
> version available as a backup.
>
> I've gotten the project far enough along that I can successfully build the
> generated .as source files into a .swc without any compiler errors.
> However, I haven't yet had a chance to check if that .swc can be used in an
> SDK/distribution instead of the official playerglobal.swc or airglobal.swc.
> In February, when I have some more time, I'll continue testing all of that.
> I just wanted to share my current progress so far!
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Jan 5, 2021 at 1:34 AM Carlos Rovira 
> wrote:
>
> > Hi Josh,
> >
> > I think that's a very good idea. As less external dependencies we have
> the
> > better. And I think that means one thing less to download or manage by
> > mavenizer.
> >
> > Could it be possible that you contribute it?
> >
> > Thanks
> >
> >
> > El lun, 4 ene 2021 a las 21:53, Josh Tynjala ( >)
> > escribió:
> >
> > > If necessary, I believe that we can create our own custom
> > playerglobal.swc
> > > without running into license issues.
> > >
> > > Basically, the official playerglobal.swc contains only the APIs, and no
> > > implementation, so it's basically like the typedef/externs SWCs that we
> > > create for JS libraries in Royale
> > >
> > > The Apache Flex repo contains full ASDoc XML files for playerglobal.swc
> > > under an Apache license. These files should contain enough information
> > > about variable/property types and method signatures that someone could
> > > write a parser to get all of the data we need to generate AS3 stub
> > classes
> > > and build a SWC from that.
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Sun, Jan 3, 2021 at 11:07 AM Harbs  wrote:
> > >
> > > > Let’s wait and see whether we are dealing with real issues or not. If
> > > it’s
> > > > an issue we can debate solutions.
> > > >
> > > > I’m happy to ask my Adobe contacts what the plan is.
> > > >
> > > > > On Jan 3, 2021, at 8:52 PM, Carlos Rovira  >
> > > > wrote:
> > > > >
> > > > > Hi Harbs,
> > > > >
> > > > > the problem here's that I think we are on Apache, and using a piece
> > of
> > > > > software that is under a clear license use will be against the
> > > foundation
> > > > > rules. So although you or I can host the files, that's not seem to
> me
> > > > like
> > > > > a solution to the real problem.
> > > > >
> > > > > I'm for go step by step and first try to talk with Adobe
> > > representatives
> > > > to
> > > > > get the permission for Apache to host the player files only for our
> > > flex
> > > > > and royale use cases. I think we could continue discussion after we
> > > know
> > > > > the solution to this request
> > > > >
> > > > > Can you, Alex or others do this request? or if you want I can do
> it,
> > > but
> > > > > need someone to provide me the contact at adobe.
> > > > >
> > > > > Thanks
> > > > >
> > > > >
> > > > >
> > > > > El dom, 3 ene 2021 a las 15:59, Harbs ()
> > > > escribió:
> > > > >
> > > > >> There’s no license agreement when downloading playerglobal or the
> > > > content
> &g

Re: Remote object Error on latest apache-royale-0.9.8-bin-js build

2021-01-20 Thread Carlos Rovira
Hi,

There were recently some changes in that part. There were issues and pull
request posted on github.
I think @Greg Dove  review the changes and merged so
he will know much better.

Can you check in the github issues and pull requests about it? I think you
can comment there and try to identify what part is making your connection
fail.

If you can isolate the problem (removing locally the changes and testing),
we can revert or update the code to solve the problem while keeping
compatibility with the new changes.

Also more info about how you are connecting (if is to Java BlazeDS, or
other backend) will be of help to identify where the problem is.

Thanks



El mié, 20 ene 2021 a las 9:20, Nallathambi, Varunkumar (<
varunkumar.nallatha...@cgi.com>) escribió:

> Hi,
>   I can see that there is some changes on AMFNetConnection.as
> and related stuffs. Kindly do let me know that am I need to do any
> modification in the code.
>
> From: Nallathambi, Varunkumar
> Sent: Wednesday, January 20, 2021 9:36 AM
> To: dev@royale.apache.org
> Subject: Remote object Error on latest apache-royale-0.9.8-bin-js build
>
>
> Hi,
>
>   I am unable to create successful connection on remote object
> after I use the latest apache-royale-0.9.8-bin-js.zip<
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/apache-royale-0.9.8-bin-js.zip>
> . Last snapshoot sdk took before 4 months. Earlier it was working fine.
> With the latest sdk build it was not working. Is their any change happened.
> Do I need to modify anything in code? Like postconstruct/AMF/Inject etc.
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Configuring source maps on Royale with new compiler options

2021-01-17 Thread Carlos Rovira
Thanks Josh!

I'll take a look in the next few days. I'm these days with some
complications but hopefully will return soon :)
Thanks for letting me know!

Carlos


El sáb, 16 ene 2021 a las 3:00, Maria Jose Esteve ()
escribió:

> Have you noticed that it recognizes the "... / royale" directory as a
> file?
>
>
> "sourceRoot":"file:///c:/Users/josht/Development/apache/royale-asjs/frameworks/projects/Jewel/src/main/royale"
>
> (I'm looking at this now)
> Hiedra
>
> -Mensaje original-
> De: Josh Tynjala 
> Enviado el: viernes, 15 de enero de 2021 20:04
> Para: Apache Royale Development 
> Asunto: Re: Configuring source maps on Royale with new compiler options
>
> Your changes are now working for me!
>
> I just pulled your latest changes in royale-asjs, running the following
> command to build the framework SWCs:
>
> mvn clean install -DskipTests
>
> Then, I ran a clean build of TDJ, with the following command:
>
> mvn clean install
> -Droyalelib=c:/Users/josht/Development/apache/royale-asjs/frameworks
>
> I am seeing the expected full sourceRoot in Button.js.map that includes
> the content of -Droyalelib.
>
>
> "sourceRoot":"file:///c:/Users/josht/Development/apache/royale-asjs/frameworks/projects/Jewel/src/main/royale"
>
> I added a breakpoint in the text setter in Button.as on this line:
>
> spanLabel.textContent = value;
>
> And the debugger stopped correctly when I launched in Chrome.
>
> Your sourceRoot in Button.js.map is wrong. Make sure that you clean the
> project when you build, so that you don't have a cached Button.js.map. And
> don't forget the -Droyalelib option.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Fri, Jan 15, 2021 at 6:40 AM Carlos Rovira 
> wrote:
>
> > Oops! You're right Josh, I commited a fix for that.
> >
> > Anyway, I tried within Jewel adding hardcoded code (as you showed) and
> > it didn't worked. In both cases:
> >
> > For Button.js, I get this:
> >
> > //# sourceMappingURL=./Button.js.map
> >
> > and Button.js.map has:
> >
> > "sourceRoot":"/frameworks/projects/Jewel/src/main/royale/",
> >
> > If you have the same code, maybe the problem is not maven build but
> > something related to VSCode.
> >
> > Thanks
> >
> > Carlos
> >
> >
> > El jue, 14 ene 2021 a las 18:55, Josh Tynjala
> > ( > >)
> > escribió:
> >
> > > This is what I see in the Button.js.map file:
> > >
> > >
> > >
> >
> "sourceRoot":"file:///c:/Users/josht/Development/apache/royale-asjs/frameworks/projects/{$project.artifactId}/src/main/royale"
> > >
> > > The {$project.artifactId} token seems incorrect. Did you mean
> > > ${project.artifactId} instead?
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Thu, Jan 14, 2021 at 1:59 AM Carlos Rovira
> > > 
> > > wrote:
> > >
> > > > Hi Josh,
> > > >
> > > > just tried your recommendations, but seems not to work.
> > > >
> > > > I added to Jewel:
> > > >
> > > > 
> > > > -source-map=true;
> > > > -source-map-source-root=/frameworks/projects/Jewel/src/main/royale
> > > > /
> > > > 
> > > >
> > > > and in TDJ just:
> > > >
> > > > -source-map=true;
> > > >
> > > > I added in my VSCode tasks the argument to compile TDJ
> > > >
> > > > "args": [
> > > > "clean",
> > > > "install",
> > > > "-P option-with-swf",
> > > >
> > > >
> > >
> >
> "-Droyalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks"
> > > > ,
> > > > "-DskipTests"
> > > > ]
> > > >
> > > > setting a break point in jewel button is marked with an empty
> > > > circle in VSCode and doesn't stop, but TDJ works ok.
> > > >
> > > > I think I followed your indications right, and also committed (but
> > > > the commit is more general since I added the config to
> > > > frameworks/projects
> > to
> > > > affect to all SWC libs at once). Maybe there's some detail that is
> > > > preventing it to work.
> > > >
> > > > Tha

Re: Tile Layout for Spark List

2021-01-17 Thread Carlos Rovira
Hi,

I create Jewel Tile layout based on spark one, so you can check and take
something from there, just take into account that are based on jewel
layout, so don't know how much you could take.

HTH


El sáb, 16 ene 2021 a las 11:22, Yishay Weiss ()
escribió:

> I’m looking to emulate something like this Flex code:
>
>
>
>
>
>   
>   columnAlign="justifyUsingGap"/>
>   
>    
>
> Has anyone done this?
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Configuring source maps on Royale with new compiler options

2021-01-15 Thread Carlos Rovira
Oops! You're right Josh, I commited a fix for that.

Anyway, I tried within Jewel adding hardcoded code (as you showed) and it
didn't worked. In both cases:

For Button.js, I get this:

//# sourceMappingURL=./Button.js.map

and Button.js.map has:

"sourceRoot":"/frameworks/projects/Jewel/src/main/royale/",

If you have the same code, maybe the problem is not maven build but
something related to VSCode.

Thanks

Carlos


El jue, 14 ene 2021 a las 18:55, Josh Tynjala ()
escribió:

> This is what I see in the Button.js.map file:
>
>
> "sourceRoot":"file:///c:/Users/josht/Development/apache/royale-asjs/frameworks/projects/{$project.artifactId}/src/main/royale"
>
> The {$project.artifactId} token seems incorrect. Did you mean
> ${project.artifactId} instead?
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Thu, Jan 14, 2021 at 1:59 AM Carlos Rovira 
> wrote:
>
> > Hi Josh,
> >
> > just tried your recommendations, but seems not to work.
> >
> > I added to Jewel:
> >
> > 
> > -source-map=true;
> > -source-map-source-root=/frameworks/projects/Jewel/src/main/royale/
> > 
> >
> > and in TDJ just:
> >
> > -source-map=true;
> >
> > I added in my VSCode tasks the argument to compile TDJ
> >
> > "args": [
> > "clean",
> > "install",
> > "-P option-with-swf",
> >
> >
> "-Droyalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks"
> > ,
> > "-DskipTests"
> > ]
> >
> > setting a break point in jewel button is marked with an empty circle in
> > VSCode and doesn't stop, but TDJ works ok.
> >
> > I think I followed your indications right, and also committed (but the
> > commit is more general since I added the config to frameworks/projects to
> > affect to all SWC libs at once). Maybe there's some detail that
> > is preventing it to work.
> >
> > Thanks for your time and taking a look
> >
> > Carlos
> >
> >
> > El jue, 14 ene 2021 a las 9:25, Maria Jose Esteve ()
> > escribió:
> >
> > > Hi, It does not work for me.
> > > I have modified Jewel's pom.xml, main pom "/ projects /" and have
> > modified
> > > my maven build to include the Droyalelib option with the path to my /
> > > frameworks directory, the result error.
> > > Do I have to modify something else ?, the sdk does not compile
> > >
> > > Thx
> > > Hiedra
> > >
> > > -Mensaje original-
> > > De: Josh Tynjala 
> > > Enviado el: jueves, 14 de enero de 2021 0:40
> > > Para: Apache Royale Development 
> > > Asunto: Re: Configuring source maps on Royale with new compiler options
> > >
> > > Okay, I've determined a couple of tweaks to the process that made
> things
> > > work on my machine to allow source map debugging with Maven.
> > >
> > > The source-map-source-root for Jewel and other SDK libs must include
> > > src/main/royale/ at the end.
> > >
> > > 
> > >   -source-map=true;
> > >   -source-map-source-root=/frameworks/projects/Jewel/src/main/royale/
> > > 
> > >
> > > For TDJ and other apps, you only need the source-map option. Do NOT add
> > > source-map-source-root and do NOT add +royalelib.
> > >
> > > 
> > >   -source-map=true;
> > > 
> > >
> > > Instead add an extra -Droyalelib option to your mvn command line. For
> > > example:
> > >
> > > mvn clean install
> > >
> > >
> >
> -Droyalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Wed, Jan 13, 2021 at 2:57 PM Josh Tynjala <
> joshtynj...@bowlerhat.dev>
> > > wrote:
> > >
> > > > I just gave it a try myself, and it looks like the compiler is
> failing
> > > > to recognize the +royalelib token when you try to put it into Maven's
> > > > additionalCompilerOptions. As I implied, it was certainly possible
> > > > that this might or might not work.
> > > >
> > > > I'll let you know if I have another suggestion.
> > > >
> > > > --
> > > > Josh Tynjala
> > > > Bowler Hat LLC <https://bowlerhat.dev>
> > > >
> > > >
&

Re: Configuring source maps on Royale with new compiler options

2021-01-14 Thread Carlos Rovira
Hi Josh,

just tried your recommendations, but seems not to work.

I added to Jewel:


-source-map=true;
-source-map-source-root=/frameworks/projects/Jewel/src/main/royale/


and in TDJ just:

-source-map=true;

I added in my VSCode tasks the argument to compile TDJ

"args": [
"clean",
"install",
"-P option-with-swf",
"-Droyalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks"
,
"-DskipTests"
]

setting a break point in jewel button is marked with an empty circle in
VSCode and doesn't stop, but TDJ works ok.

I think I followed your indications right, and also committed (but the
commit is more general since I added the config to frameworks/projects to
affect to all SWC libs at once). Maybe there's some detail that
is preventing it to work.

Thanks for your time and taking a look

Carlos


El jue, 14 ene 2021 a las 9:25, Maria Jose Esteve ()
escribió:

> Hi, It does not work for me.
> I have modified Jewel's pom.xml, main pom "/ projects /" and have modified
> my maven build to include the Droyalelib option with the path to my /
> frameworks directory, the result error.
> Do I have to modify something else ?, the sdk does not compile
>
> Thx
> Hiedra
>
> -Mensaje original-
> De: Josh Tynjala 
> Enviado el: jueves, 14 de enero de 2021 0:40
> Para: Apache Royale Development 
> Asunto: Re: Configuring source maps on Royale with new compiler options
>
> Okay, I've determined a couple of tweaks to the process that made things
> work on my machine to allow source map debugging with Maven.
>
> The source-map-source-root for Jewel and other SDK libs must include
> src/main/royale/ at the end.
>
> 
>   -source-map=true;
>   -source-map-source-root=/frameworks/projects/Jewel/src/main/royale/
> 
>
> For TDJ and other apps, you only need the source-map option. Do NOT add
> source-map-source-root and do NOT add +royalelib.
>
> 
>   -source-map=true;
> 
>
> Instead add an extra -Droyalelib option to your mvn command line. For
> example:
>
> mvn clean install
>
> -Droyalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Wed, Jan 13, 2021 at 2:57 PM Josh Tynjala 
> wrote:
>
> > I just gave it a try myself, and it looks like the compiler is failing
> > to recognize the +royalelib token when you try to put it into Maven's
> > additionalCompilerOptions. As I implied, it was certainly possible
> > that this might or might not work.
> >
> > I'll let you know if I have another suggestion.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Sat, Jan 9, 2021 at 1:01 AM Carlos Rovira 
> > wrote:
> >
> >> Hi Josh,
> >>
> >> Thanks for taking a look, I'll check maven distribution to see how to
> >> add the missing folder. It's strange since I think I was debugging
> >> against the Maven SDK until now.
> >>
> >> I made now a quick try with ANT SDK, after my daily build completed,
> >> with your latest changes from yesterday, and compiled TDJ with:
> >>
> >> +royalelib=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/framewor
> >> +ks
> >>
> >> to point to ANT instead to MAVEN, and the result was the same for
> >> royale ANT sdk: TDJ stops at breakpoints in VSCode but Jewel not. I
> >> thought that ANT SDK should work right, isn't?
> >>
> >> Thanks
> >>
> >>
> >>
> >>
> >> El vie, 8 ene 2021 a las 22:57, Greg Dove ()
> >> escribió:
> >>
> >> > Thanks Josh, I guess there was still something cached at a
> >> > different
> >> level
> >> > in our local m2 that meant it was still working for Hiedra and me.
> >> > Nice sleuthing!
> >> >
> >> >
> >> > On Sat, Jan 9, 2021 at 10:43 AM Josh Tynjala
> >> >  >> >
> >> > wrote:
> >> >
> >> > > Following up, since I can now successfully build the Maven
> >> distribution
> >> > > again.
> >> > >
> >> > > I've confirmed that frameworks/projects is missing from a Maven
> >> > > distribution, like I had observed in the past. With that in mind,
> >> > > a
> >> Maven
> >> > > distribution cannot currently be referenced with +royalelib for
> >> > > sourcemap-enabled debugging with the original .as files.
> >> > >
> >> > > --
>

Re: I can't debug the sdk code

2021-01-12 Thread Carlos Rovira
Hi Maria Jose,

I'm in the same situation. Hope others can assist us, since I think we lost
debuggin Royale SDK libraries

El mar, 12 ene 2021 a las 11:32, Maria Jose Esteve ()
escribió:

> Hi, Can you debug the sdk code? In my case, since last week I can only
> debug by JS code. I have read the thread "Re: Configuring source maps on
> Royale with new compiler options" and I don't know if it will have anything
> to do with it.
>
> I have tried in every way I could think of to configure the vscode wk and
> the pom's but I have not been successful.
> Any ideas?
>
> Thx.
> Hiedra
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Configuring source maps on Royale with new compiler options

2021-01-09 Thread Carlos Rovira
Hi Josh,

Thanks for taking a look, I'll check maven distribution to see how to add
the missing folder. It's strange since I think I was debugging against the
Maven SDK until now.

I made now a quick try with ANT SDK, after my daily build completed, with
your latest changes from yesterday, and compiled TDJ with:

+royalelib=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks

to point to ANT instead to MAVEN, and the result was the same for royale
ANT sdk: TDJ stops at breakpoints in VSCode but Jewel not. I thought that
ANT SDK should work right, isn't?

Thanks




El vie, 8 ene 2021 a las 22:57, Greg Dove () escribió:

> Thanks Josh, I guess there was still something cached at a different level
> in our local m2 that meant it was still working for Hiedra and me. Nice
> sleuthing!
>
>
> On Sat, Jan 9, 2021 at 10:43 AM Josh Tynjala 
> wrote:
>
> > Following up, since I can now successfully build the Maven distribution
> > again.
> >
> > I've confirmed that frameworks/projects is missing from a Maven
> > distribution, like I had observed in the past. With that in mind, a Maven
> > distribution cannot currently be referenced with +royalelib for
> > sourcemap-enabled debugging with the original .as files.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Fri, Jan 8, 2021 at 10:32 AM Josh Tynjala 
> > wrote:
> >
> > > Carlos, are you using a Maven distribution as your IDE-compatible SDK?
> > The
> > > last time that I built one, I seem to recall that the distribution did
> > not
> > > include the original .as source files. I don't know if that's still the
> > > case or not. I tried building a Maven distribution today to check, but
> > the
> > > build fails due to the current compiler being on version 0.9.9 and the
> > > framework still expecting 0.9.8.
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Fri, Jan 8, 2021 at 12:34 AM Carlos Rovira  >
> > > wrote:
> > >
> > >> Hi Josh,
> > >>
> > >> thanks, I added "frameworks" in TDJ +royalelib but seems it doesn't
> have
> > >> effect, stil debug TDJ but not classes in Jewel.
> > >> Don't see what it could be :?
> > >>
> > >> El jue, 7 ene 2021 a las 21:46, Josh Tynjala (<
> > joshtynj...@bowlerhat.dev
> > >> >)
> > >> escribió:
> > >>
> > >> > Looking over previous emails in this thread, it looks like you
> forgot
> > to
> > >> > add /frameworks at the end of the +royalelib path.
> > >> >
> > >> > You have:
> > >> >
> > >> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > >> >
> > >> > It should be:
> > >> >
> > >> >
> > >> >
> > >>
> >
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
> > >> >
> > >> > --
> > >> > Josh Tynjala
> > >> > Bowler Hat LLC <https://bowlerhat.dev>
> > >> >
> > >> >
> > >> > On Thu, Jan 7, 2021 at 11:12 AM Carlos Rovira <
> > carlosrov...@apache.org>
> > >> > wrote:
> > >> >
> > >> > > Hi,
> > >> > >
> > >> > > just fyi I added:
> > >> > >
> > >> > >
> > >> >  -source-map-source-root=/frameworks/projects/{$project.artifactId}/
> > >> > >
> > >> > > at frameworks/projects/pom.xml
> > >> > > so now we have setup source maps in all libraries
> > >> > >
> > >> > > but while that seems ok, I'm not getting lib debugging as I stated
> > in
> > >> my
> > >> > > last email.
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> > > El jue, 7 ene 2021 a las 20:07, Carlos Rovira (<
> > >> carlosrov...@apache.org
> > >> > >)
> > >> > > escribió:
> > >> > >
> > >> > > > Ok Josh,
> > >> > > >
> > >> > > > so all seems ok, but debug is not working in classes from Jewel
> > lib.
> > >> > > > I see the jewel.swc has the js.map files in the same way I
> > related,

Re: Configuring source maps on Royale with new compiler options

2021-01-08 Thread Carlos Rovira
Hi Josh,

thanks, I added "frameworks" in TDJ +royalelib but seems it doesn't have
effect, stil debug TDJ but not classes in Jewel.
Don't see what it could be :?

El jue, 7 ene 2021 a las 21:46, Josh Tynjala ()
escribió:

> Looking over previous emails in this thread, it looks like you forgot to
> add /frameworks at the end of the +royalelib path.
>
> You have:
>
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>
> It should be:
>
>
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven/frameworks
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Thu, Jan 7, 2021 at 11:12 AM Carlos Rovira 
> wrote:
>
> > Hi,
> >
> > just fyi I added:
> >
> >
>  -source-map-source-root=/frameworks/projects/{$project.artifactId}/
> >
> > at frameworks/projects/pom.xml
> > so now we have setup source maps in all libraries
> >
> > but while that seems ok, I'm not getting lib debugging as I stated in my
> > last email.
> >
> >
> >
> >
> > El jue, 7 ene 2021 a las 20:07, Carlos Rovira ( >)
> > escribió:
> >
> > > Ok Josh,
> > >
> > > so all seems ok, but debug is not working in classes from Jewel lib.
> > > I see the jewel.swc has the js.map files in the same way I related, so
> > > that's ok as you stated.
> > > I'm setting breakpoints in the same VSCode window for Jewel and TDJ
> > files,
> > > but only TDJ files (in the root or subfolders) are making execution
> stop.
> > > If I set up a breakpoint in let's say Jewel Button.as, that appears
> empty
> > > on execution and doesn't have effect, while TDJ appears red and works
> ok.
> > >
> > > Do you know  what could be happening?
> > >
> > >
> > >
> > > El jue, 7 ene 2021 a las 19:57, Josh Tynjala (<
> joshtynj...@bowlerhat.dev
> > >)
> > > escribió:
> > >
> > >>  The path of the .js.map file is relative to the .js file. Since the
> > >> .js.map file is supposed to be in the same folder as the .js file,
> that
> > >> looks correct to me.
> > >>
> > >> --
> > >> Josh Tynjala
> > >> Bowler Hat LLC <https://bowlerhat.dev>
> > >>
> > >>
> > >> On Thu, Jan 7, 2021 at 10:28 AM Carlos Rovira <
> carlosrov...@apache.org>
> > >> wrote:
> > >>
> > >> > Hi Josh,
> > >> >
> > >> > I'm trying to debug jewel classes in TDJ and for example
> > >> AlertController.js
> > >> > has at the end:
> > >> >
> > >> > //# sourceMappingURL=./AlertController.js.map
> > >> >
> > >> > It's ok? I expect it to reference the concrete subfolder:
> > >> > org/apache/royale/jewel/beads/controllers
> > >> >
> > >> >
> > >> >
> > >> > El jue, 7 ene 2021 a las 18:23, Josh Tynjala (<
> > >> joshtynj...@bowlerhat.dev>)
> > >> > escribió:
> > >> >
> > >> > > Yes, you're right that +royalelib should not be required for
> > framework
> > >> > > libs. I wasn't paying close enough attention to see that you had
> > added
> > >> > > +royalelib to both Jewel and TDJ.
> > >> > >
> > >> > > So, to summarize, you should use source-map-source-root when
> > building
> > >> > > framework libs, and you should use +royalelib when building
> > >> > examples/apps.
> > >> > > +royalelib is not necessary for framework libs, and
> > >> > source-map-source-root
> > >> > > is (generally) not necessary for examples/apps.
> > >> > >
> > >> > > --
> > >> > > Josh Tynjala
> > >> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >> > >
> > >> > >
> > >> > > On Thu, Jan 7, 2021 at 7:43 AM Carlos Rovira <
> > carlosrov...@apache.org
> > >> >
> > >> > > wrote:
> > >> > >
> > >> > > > Hi Josh,
> > >> > > >
> > >> > > > I discover right now that I was understanding wrong how all this
> > >> works.
> > >> > > > I thought we needed +royalelib in framework libs, but it's not
> the
> > >> > case.
> > >> &

Re: Configuring source maps on Royale with new compiler options

2021-01-07 Thread Carlos Rovira
Hi,

just fyi I added:

-source-map-source-root=/frameworks/projects/{$project.artifactId}/

at frameworks/projects/pom.xml
so now we have setup source maps in all libraries

but while that seems ok, I'm not getting lib debugging as I stated in my
last email.




El jue, 7 ene 2021 a las 20:07, Carlos Rovira ()
escribió:

> Ok Josh,
>
> so all seems ok, but debug is not working in classes from Jewel lib.
> I see the jewel.swc has the js.map files in the same way I related, so
> that's ok as you stated.
> I'm setting breakpoints in the same VSCode window for Jewel and TDJ files,
> but only TDJ files (in the root or subfolders) are making execution stop.
> If I set up a breakpoint in let's say Jewel Button.as, that appears empty
> on execution and doesn't have effect, while TDJ appears red and works ok.
>
> Do you know  what could be happening?
>
>
>
> El jue, 7 ene 2021 a las 19:57, Josh Tynjala ()
> escribió:
>
>>  The path of the .js.map file is relative to the .js file. Since the
>> .js.map file is supposed to be in the same folder as the .js file, that
>> looks correct to me.
>>
>> --
>> Josh Tynjala
>> Bowler Hat LLC <https://bowlerhat.dev>
>>
>>
>> On Thu, Jan 7, 2021 at 10:28 AM Carlos Rovira 
>> wrote:
>>
>> > Hi Josh,
>> >
>> > I'm trying to debug jewel classes in TDJ and for example
>> AlertController.js
>> > has at the end:
>> >
>> > //# sourceMappingURL=./AlertController.js.map
>> >
>> > It's ok? I expect it to reference the concrete subfolder:
>> > org/apache/royale/jewel/beads/controllers
>> >
>> >
>> >
>> > El jue, 7 ene 2021 a las 18:23, Josh Tynjala (<
>> joshtynj...@bowlerhat.dev>)
>> > escribió:
>> >
>> > > Yes, you're right that +royalelib should not be required for framework
>> > > libs. I wasn't paying close enough attention to see that you had added
>> > > +royalelib to both Jewel and TDJ.
>> > >
>> > > So, to summarize, you should use source-map-source-root when building
>> > > framework libs, and you should use +royalelib when building
>> > examples/apps.
>> > > +royalelib is not necessary for framework libs, and
>> > source-map-source-root
>> > > is (generally) not necessary for examples/apps.
>> > >
>> > > --
>> > > Josh Tynjala
>> > > Bowler Hat LLC <https://bowlerhat.dev>
>> > >
>> > >
>> > > On Thu, Jan 7, 2021 at 7:43 AM Carlos Rovira > >
>> > > wrote:
>> > >
>> > > > Hi Josh,
>> > > >
>> > > > I discover right now that I was understanding wrong how all this
>> works.
>> > > > I thought we needed +royalelib in framework libs, but it's not the
>> > case.
>> > > > Just need to add +royalelib to a final project, so that can be left
>> to
>> > > the
>> > > > user.
>> > > >
>> > > > That means that we can add to all libs this:
>> > > >   -source-map-source-root=/frameworks/projects/XXX/target/
>> > > > (Where XXX is the root libraryfolder) -> For this I'll be adding in
>> a
>> > > > commit soon
>> > > >
>> > > > So, Chris, we don't need anything more to implement, as I commit the
>> > > > -source-map-source-root line in all framework poms.
>> > > >
>> > > > Another thing is if we should upload all source maps (js.map files)
>> of
>> > > all
>> > > > framework libs to some r.a.o url (for example /debug), and if people
>> > can
>> > > > point with +royalelib (i.e: +royalelib=
>> http://royale.apache.org/debug
>> > )
>> > > >
>> > > > What do you think?
>> > > >
>> > > >
>> > > >
>> > > > El mié, 6 ene 2021 a las 18:35, Josh Tynjala (<
>> > joshtynj...@bowlerhat.dev
>> > > >)
>> > > > escribió:
>> > > >
>> > > > > While we can set source-map-source-root in all of the library
>> > > projects, I
>> > > > > don't think that there's any way for us to specify +royalelib for
>> TDJ
>> > > and
>> > > > > other examples in a general way. That's the one thing that users
>> will
>> > > > > probably need to set up manually because the source files come
>> from
>> 

Re: Configuring source maps on Royale with new compiler options

2021-01-07 Thread Carlos Rovira
Ok Josh,

so all seems ok, but debug is not working in classes from Jewel lib.
I see the jewel.swc has the js.map files in the same way I related, so
that's ok as you stated.
I'm setting breakpoints in the same VSCode window for Jewel and TDJ files,
but only TDJ files (in the root or subfolders) are making execution stop.
If I set up a breakpoint in let's say Jewel Button.as, that appears empty
on execution and doesn't have effect, while TDJ appears red and works ok.

Do you know  what could be happening?



El jue, 7 ene 2021 a las 19:57, Josh Tynjala ()
escribió:

>  The path of the .js.map file is relative to the .js file. Since the
> .js.map file is supposed to be in the same folder as the .js file, that
> looks correct to me.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Thu, Jan 7, 2021 at 10:28 AM Carlos Rovira 
> wrote:
>
> > Hi Josh,
> >
> > I'm trying to debug jewel classes in TDJ and for example
> AlertController.js
> > has at the end:
> >
> > //# sourceMappingURL=./AlertController.js.map
> >
> > It's ok? I expect it to reference the concrete subfolder:
> > org/apache/royale/jewel/beads/controllers
> >
> >
> >
> > El jue, 7 ene 2021 a las 18:23, Josh Tynjala ( >)
> > escribió:
> >
> > > Yes, you're right that +royalelib should not be required for framework
> > > libs. I wasn't paying close enough attention to see that you had added
> > > +royalelib to both Jewel and TDJ.
> > >
> > > So, to summarize, you should use source-map-source-root when building
> > > framework libs, and you should use +royalelib when building
> > examples/apps.
> > > +royalelib is not necessary for framework libs, and
> > source-map-source-root
> > > is (generally) not necessary for examples/apps.
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Thu, Jan 7, 2021 at 7:43 AM Carlos Rovira 
> > > wrote:
> > >
> > > > Hi Josh,
> > > >
> > > > I discover right now that I was understanding wrong how all this
> works.
> > > > I thought we needed +royalelib in framework libs, but it's not the
> > case.
> > > > Just need to add +royalelib to a final project, so that can be left
> to
> > > the
> > > > user.
> > > >
> > > > That means that we can add to all libs this:
> > > >   -source-map-source-root=/frameworks/projects/XXX/target/
> > > > (Where XXX is the root libraryfolder) -> For this I'll be adding in a
> > > > commit soon
> > > >
> > > > So, Chris, we don't need anything more to implement, as I commit the
> > > > -source-map-source-root line in all framework poms.
> > > >
> > > > Another thing is if we should upload all source maps (js.map files)
> of
> > > all
> > > > framework libs to some r.a.o url (for example /debug), and if people
> > can
> > > > point with +royalelib (i.e: +royalelib=
> http://royale.apache.org/debug
> > )
> > > >
> > > > What do you think?
> > > >
> > > >
> > > >
> > > > El mié, 6 ene 2021 a las 18:35, Josh Tynjala (<
> > joshtynj...@bowlerhat.dev
> > > >)
> > > > escribió:
> > > >
> > > > > While we can set source-map-source-root in all of the library
> > > projects, I
> > > > > don't think that there's any way for us to specify +royalelib for
> TDJ
> > > and
> > > > > other examples in a general way. That's the one thing that users
> will
> > > > > probably need to set up manually because the source files come from
> > an
> > > > > IDE-compatible SDK.
> > > > >
> > > > > --
> > > > > Josh Tynjala
> > > > > Bowler Hat LLC <https://bowlerhat.dev>
> > > > >
> > > > >
> > > > > On Wed, Jan 6, 2021 at 3:21 AM Carlos Rovira <
> > carlosrov...@apache.org>
> > > > > wrote:
> > > > >
> > > > > > Hi Greg, Harbs and others
> > > > > >
> > > > > > can you check my new commit on Jewel and TDJ poms to get
> sourcemaps
> > > in
> > > > > > framework?
> > > > > > We'll need to change the line:
> > > > > >
> > > > > >
> +royalelib=/Users/carlosrovira/Dev/Royale/

Re: Configuring source maps on Royale with new compiler options

2021-01-07 Thread Carlos Rovira
Hi Josh,

I'm trying to debug jewel classes in TDJ and for example AlertController.js
has at the end:

//# sourceMappingURL=./AlertController.js.map

It's ok? I expect it to reference the concrete subfolder:
org/apache/royale/jewel/beads/controllers



El jue, 7 ene 2021 a las 18:23, Josh Tynjala ()
escribió:

> Yes, you're right that +royalelib should not be required for framework
> libs. I wasn't paying close enough attention to see that you had added
> +royalelib to both Jewel and TDJ.
>
> So, to summarize, you should use source-map-source-root when building
> framework libs, and you should use +royalelib when building examples/apps.
> +royalelib is not necessary for framework libs, and source-map-source-root
> is (generally) not necessary for examples/apps.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Thu, Jan 7, 2021 at 7:43 AM Carlos Rovira 
> wrote:
>
> > Hi Josh,
> >
> > I discover right now that I was understanding wrong how all this works.
> > I thought we needed +royalelib in framework libs, but it's not the case.
> > Just need to add +royalelib to a final project, so that can be left to
> the
> > user.
> >
> > That means that we can add to all libs this:
> >   -source-map-source-root=/frameworks/projects/XXX/target/
> > (Where XXX is the root libraryfolder) -> For this I'll be adding in a
> > commit soon
> >
> > So, Chris, we don't need anything more to implement, as I commit the
> > -source-map-source-root line in all framework poms.
> >
> > Another thing is if we should upload all source maps (js.map files) of
> all
> > framework libs to some r.a.o url (for example /debug), and if people can
> > point with +royalelib (i.e: +royalelib=http://royale.apache.org/debug )
> >
> > What do you think?
> >
> >
> >
> > El mié, 6 ene 2021 a las 18:35, Josh Tynjala ( >)
> > escribió:
> >
> > > While we can set source-map-source-root in all of the library
> projects, I
> > > don't think that there's any way for us to specify +royalelib for TDJ
> and
> > > other examples in a general way. That's the one thing that users will
> > > probably need to set up manually because the source files come from an
> > > IDE-compatible SDK.
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> > >
> > > On Wed, Jan 6, 2021 at 3:21 AM Carlos Rovira 
> > > wrote:
> > >
> > > > Hi Greg, Harbs and others
> > > >
> > > > can you check my new commit on Jewel and TDJ poms to get sourcemaps
> in
> > > > framework?
> > > > We'll need to change the line:
> > > >
> > > > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > >
> > > > for another more generalistic tha allow anyone of us to debug, but I
> > > think
> > > > that will mean to upload sourcemaps to some r.a.o url?
> > > >
> > > > What it could be and would this be possible?
> > > >
> > > > Thanks
> > > >
> > > >
> > > > El mié, 6 ene 2021 a las 12:12, Carlos Rovira (<
> > carlosrov...@apache.org
> > > >)
> > > > escribió:
> > > >
> > > > > Hi Josh, Thanks! That worked and I finally have debugging again! :D
> > > > >
> > > > > El mar, 5 ene 2021 a las 17:34, Josh Tynjala (<
> > > joshtynj...@bowlerhat.dev
> > > > >)
> > > > > escribió:
> > > > >
> > > > >> Hey Carlos,
> > > > >>
> > > > >> Try using source-map-source-root with Jewel only, and omit it from
> > > TDJ.
> > > > >>
> > > > >> Jewel:
> > > > >>
> > > > >> 
> > > > >> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > >> -source-map=true;
> > > > >> -source-map-source-root=/frameworks/projects/Jewel/
> > > > >> 
> > > > >>
> > > > >> TDJ:
> > > > >>
> > > > >> 
> > > > >> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > > > >> -source-map=true;
> > > > >> 
> > > > >>
> > > > >> I hadn't noticed before that you were also trying to use it with
> TDJ
> > > > too.
> > > > >> You 

Re: Configuring source maps on Royale with new compiler options

2021-01-07 Thread Carlos Rovira
Hi Chris,

I think we can add this in the root pom.


-source-map=true;
-source-map-source-root=/frameworks/projects/{$artifactId}/


Instead of going one by one

What do you think?


El jue, 7 ene 2021 a las 16:42, Carlos Rovira ()
escribió:

> Hi Josh,
>
> I discover right now that I was understanding wrong how all this works.
> I thought we needed +royalelib in framework libs, but it's not the case.
> Just need to add +royalelib to a final project, so that can be left to the
> user.
>
> That means that we can add to all libs this:
>   -source-map-source-root=/frameworks/projects/XXX/target/
> (Where XXX is the root libraryfolder) -> For this I'll be adding in a
> commit soon
>
> So, Chris, we don't need anything more to implement, as I commit the
> -source-map-source-root line in all framework poms.
>
> Another thing is if we should upload all source maps (js.map files) of all
> framework libs to some r.a.o url (for example /debug), and if people can
> point with +royalelib (i.e: +royalelib=http://royale.apache.org/debug )
>
> What do you think?
>
>
>
> El mié, 6 ene 2021 a las 18:35, Josh Tynjala ()
> escribió:
>
>> While we can set source-map-source-root in all of the library projects, I
>> don't think that there's any way for us to specify +royalelib for TDJ and
>> other examples in a general way. That's the one thing that users will
>> probably need to set up manually because the source files come from an
>> IDE-compatible SDK.
>>
>> --
>> Josh Tynjala
>> Bowler Hat LLC <https://bowlerhat.dev>
>>
>>
>> On Wed, Jan 6, 2021 at 3:21 AM Carlos Rovira 
>> wrote:
>>
>> > Hi Greg, Harbs and others
>> >
>> > can you check my new commit on Jewel and TDJ poms to get sourcemaps in
>> > framework?
>> > We'll need to change the line:
>> >
>> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> >
>> > for another more generalistic tha allow anyone of us to debug, but I
>> think
>> > that will mean to upload sourcemaps to some r.a.o url?
>> >
>> > What it could be and would this be possible?
>> >
>> > Thanks
>> >
>> >
>> > El mié, 6 ene 2021 a las 12:12, Carlos Rovira (> >)
>> > escribió:
>> >
>> > > Hi Josh, Thanks! That worked and I finally have debugging again! :D
>> > >
>> > > El mar, 5 ene 2021 a las 17:34, Josh Tynjala (<
>> joshtynj...@bowlerhat.dev
>> > >)
>> > > escribió:
>> > >
>> > >> Hey Carlos,
>> > >>
>> > >> Try using source-map-source-root with Jewel only, and omit it from
>> TDJ.
>> > >>
>> > >> Jewel:
>> > >>
>> > >> 
>> > >> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> > >> -source-map=true;
>> > >> -source-map-source-root=/frameworks/projects/Jewel/
>> > >> 
>> > >>
>> > >> TDJ:
>> > >>
>> > >> 
>> > >> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> > >> -source-map=true;
>> > >> 
>> > >>
>> > >> I hadn't noticed before that you were also trying to use it with TDJ
>> > too.
>> > >> You usually want to use the default source root for an app project,
>> > unless
>> > >> you have a specific reason for changing it.
>> > >>
>> > >> --
>> > >> Josh Tynjala
>> > >> Bowler Hat LLC <https://bowlerhat.dev>
>> > >>
>> > >>
>> > >> On Mon, Jan 4, 2021 at 1:16 AM Carlos Rovira <
>> carlosrov...@apache.org>
>> > >> wrote:
>> > >>
>> > >> > Hi Chis,
>> > >> >
>> > >> > to get debugging in Royale we now have additional compiler option
>> > called
>> > >> > "source-map-source-root" that complements "source-map".
>> > >> > I try this (without referring to `target` folder as Josh said):
>> > >> >
>> > >> > In Jewel:
>> > >> >
>> > >> > 
>> > >> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> > >> > -source-map=true;
>> > >> > -source-map-source-root=/frameworks/projects/Jewel/
>> > >> > 
>> > >> >
>> > 

Re: Configuring source maps on Royale with new compiler options

2021-01-07 Thread Carlos Rovira
Hi Josh,

I discover right now that I was understanding wrong how all this works.
I thought we needed +royalelib in framework libs, but it's not the case.
Just need to add +royalelib to a final project, so that can be left to the
user.

That means that we can add to all libs this:
  -source-map-source-root=/frameworks/projects/XXX/target/
(Where XXX is the root libraryfolder) -> For this I'll be adding in a
commit soon

So, Chris, we don't need anything more to implement, as I commit the
-source-map-source-root line in all framework poms.

Another thing is if we should upload all source maps (js.map files) of all
framework libs to some r.a.o url (for example /debug), and if people can
point with +royalelib (i.e: +royalelib=http://royale.apache.org/debug )

What do you think?



El mié, 6 ene 2021 a las 18:35, Josh Tynjala ()
escribió:

> While we can set source-map-source-root in all of the library projects, I
> don't think that there's any way for us to specify +royalelib for TDJ and
> other examples in a general way. That's the one thing that users will
> probably need to set up manually because the source files come from an
> IDE-compatible SDK.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Wed, Jan 6, 2021 at 3:21 AM Carlos Rovira 
> wrote:
>
> > Hi Greg, Harbs and others
> >
> > can you check my new commit on Jewel and TDJ poms to get sourcemaps in
> > framework?
> > We'll need to change the line:
> >
> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> >
> > for another more generalistic tha allow anyone of us to debug, but I
> think
> > that will mean to upload sourcemaps to some r.a.o url?
> >
> > What it could be and would this be possible?
> >
> > Thanks
> >
> >
> > El mié, 6 ene 2021 a las 12:12, Carlos Rovira ( >)
> > escribió:
> >
> > > Hi Josh, Thanks! That worked and I finally have debugging again! :D
> > >
> > > El mar, 5 ene 2021 a las 17:34, Josh Tynjala (<
> joshtynj...@bowlerhat.dev
> > >)
> > > escribió:
> > >
> > >> Hey Carlos,
> > >>
> > >> Try using source-map-source-root with Jewel only, and omit it from
> TDJ.
> > >>
> > >> Jewel:
> > >>
> > >> 
> > >> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > >> -source-map=true;
> > >> -source-map-source-root=/frameworks/projects/Jewel/
> > >> 
> > >>
> > >> TDJ:
> > >>
> > >> 
> > >> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > >> -source-map=true;
> > >> 
> > >>
> > >> I hadn't noticed before that you were also trying to use it with TDJ
> > too.
> > >> You usually want to use the default source root for an app project,
> > unless
> > >> you have a specific reason for changing it.
> > >>
> > >> --
> > >> Josh Tynjala
> > >> Bowler Hat LLC <https://bowlerhat.dev>
> > >>
> > >>
> > >> On Mon, Jan 4, 2021 at 1:16 AM Carlos Rovira  >
> > >> wrote:
> > >>
> > >> > Hi Chis,
> > >> >
> > >> > to get debugging in Royale we now have additional compiler option
> > called
> > >> > "source-map-source-root" that complements "source-map".
> > >> > I try this (without referring to `target` folder as Josh said):
> > >> >
> > >> > In Jewel:
> > >> >
> > >> > 
> > >> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > >> > -source-map=true;
> > >> > -source-map-source-root=/frameworks/projects/Jewel/
> > >> > 
> > >> >
> > >> > and in TDJ:
> > >> >
> > >> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > >> > -source-map=true;
> > >> > -source-map-source-root=/examples/jewel/TourDeJewel
> > >> > 
> > >> >
> > >> > but no luck.
> > >> >
> > >> > So if +royalelib doesn't work for Maven maybe it should be something
> > >> like
> > >> > "-source-map-source-root=$$$/frameworks/projects/Jewel/", where $$$
> > is a
> > >> > token for a valid SDK.
> > >> > As Josh said "Maven does not have an IDE-compatible SDK", so I think
> > we

Re: Configuring source maps on Royale with new compiler options

2021-01-06 Thread Carlos Rovira
Hi Greg, Harbs and others

can you check my new commit on Jewel and TDJ poms to get sourcemaps in
framework?
We'll need to change the line:

+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven

for another more generalistic tha allow anyone of us to debug, but I think
that will mean to upload sourcemaps to some r.a.o url?

What it could be and would this be possible?

Thanks


El mié, 6 ene 2021 a las 12:12, Carlos Rovira ()
escribió:

> Hi Josh, Thanks! That worked and I finally have debugging again! :D
>
> El mar, 5 ene 2021 a las 17:34, Josh Tynjala ()
> escribió:
>
>> Hey Carlos,
>>
>> Try using source-map-source-root with Jewel only, and omit it from TDJ.
>>
>> Jewel:
>>
>> 
>> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> -source-map=true;
>> -source-map-source-root=/frameworks/projects/Jewel/
>> 
>>
>> TDJ:
>>
>> 
>> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> -source-map=true;
>> 
>>
>> I hadn't noticed before that you were also trying to use it with TDJ too.
>> You usually want to use the default source root for an app project, unless
>> you have a specific reason for changing it.
>>
>> --
>> Josh Tynjala
>> Bowler Hat LLC <https://bowlerhat.dev>
>>
>>
>> On Mon, Jan 4, 2021 at 1:16 AM Carlos Rovira 
>> wrote:
>>
>> > Hi Chis,
>> >
>> > to get debugging in Royale we now have additional compiler option called
>> > "source-map-source-root" that complements "source-map".
>> > I try this (without referring to `target` folder as Josh said):
>> >
>> > In Jewel:
>> >
>> > 
>> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> > -source-map=true;
>> > -source-map-source-root=/frameworks/projects/Jewel/
>> > 
>> >
>> > and in TDJ:
>> >
>> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
>> > -source-map=true;
>> > -source-map-source-root=/examples/jewel/TourDeJewel
>> > 
>> >
>> > but no luck.
>> >
>> > So if +royalelib doesn't work for Maven maybe it should be something
>> like
>> > "-source-map-source-root=$$$/frameworks/projects/Jewel/", where $$$ is a
>> > token for a valid SDK.
>> > As Josh said "Maven does not have an IDE-compatible SDK", so I think we
>> > need to add some -DroyaleSDK var like we do when create distribution? Or
>> > maybe you have a better idea.
>> >
>> > So we'll need to configure that var in local, in build server, and so on
>> > to generate the right pahs.
>> > Hope this make sense.
>> >
>> > Carlos
>> >
>> >
>> >
>> > El lun, 4 ene 2021 a las 8:31, Christofer Dutz (<
>> christofer.d...@c-ware.de>)
>> > escribió:
>> >
>> >> Hi all,
>> >>
>> >> Sure, happy to help, but what exactly do you need?
>> >>
>> >> Chris
>> >> --
>> >> *Von:* Carlos Rovira 
>> >> *Gesendet:* Sonntag, 3. Januar 2021 23:23
>> >> *An:* Josh Tynjala ; Christofer Dutz <
>> >> christofer.d...@c-ware.de>; Apache Royale Development <
>> >> dev@royale.apache.org>
>> >> *Betreff:* Re: Configuring source maps on Royale with new compiler
>> >> options
>> >>
>> >> Thanks Josh,
>> >>
>> >> since this seems to be more complicated than I thought due to maven
>> >> needs, I'll add Chris to the thread, and also the dev mailing list
>> that was
>> >> lost on your response.
>> >> Hope Chris can give us the best way to handle this with his maven
>> >> knowledge.
>> >>
>> >> Thanks for your help
>> >>
>> >>
>> >> El dom, 3 ene 2021 a las 23:00, Josh Tynjala (<
>> joshtynj...@bowlerhat.dev>)
>> >> escribió:
>> >>
>> >> I'm not sure that it's currently possible to use source-map-source-root
>> >> correctly with Maven because Maven does not have an IDE-compatible SDK
>> >> where the source files are located. The compiler relies on knowing
>> where
>> >> the original source files are to set the paths correctly.
>> >>
>> >> When building your app (such as TDJ), you could try adding the
>> +royalelib
>> >> optio

Re: Configuring source maps on Royale with new compiler options

2021-01-06 Thread Carlos Rovira
Hi Josh, Thanks! That worked and I finally have debugging again! :D

El mar, 5 ene 2021 a las 17:34, Josh Tynjala ()
escribió:

> Hey Carlos,
>
> Try using source-map-source-root with Jewel only, and omit it from TDJ.
>
> Jewel:
>
> 
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> -source-map=true;
> -source-map-source-root=/frameworks/projects/Jewel/
> 
>
> TDJ:
>
> 
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> -source-map=true;
> 
>
> I hadn't noticed before that you were also trying to use it with TDJ too.
> You usually want to use the default source root for an app project, unless
> you have a specific reason for changing it.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Mon, Jan 4, 2021 at 1:16 AM Carlos Rovira 
> wrote:
>
> > Hi Chis,
> >
> > to get debugging in Royale we now have additional compiler option called
> > "source-map-source-root" that complements "source-map".
> > I try this (without referring to `target` folder as Josh said):
> >
> > In Jewel:
> >
> > 
> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > -source-map=true;
> > -source-map-source-root=/frameworks/projects/Jewel/
> > 
> >
> > and in TDJ:
> >
> > +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> > -source-map=true;
> > -source-map-source-root=/examples/jewel/TourDeJewel
> > 
> >
> > but no luck.
> >
> > So if +royalelib doesn't work for Maven maybe it should be something like
> > "-source-map-source-root=$$$/frameworks/projects/Jewel/", where $$$ is a
> > token for a valid SDK.
> > As Josh said "Maven does not have an IDE-compatible SDK", so I think we
> > need to add some -DroyaleSDK var like we do when create distribution? Or
> > maybe you have a better idea.
> >
> > So we'll need to configure that var in local, in build server, and so on
> > to generate the right pahs.
> > Hope this make sense.
> >
> > Carlos
> >
> >
> >
> > El lun, 4 ene 2021 a las 8:31, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> > escribió:
> >
> >> Hi all,
> >>
> >> Sure, happy to help, but what exactly do you need?
> >>
> >> Chris
> >> --
> >> *Von:* Carlos Rovira 
> >> *Gesendet:* Sonntag, 3. Januar 2021 23:23
> >> *An:* Josh Tynjala ; Christofer Dutz <
> >> christofer.d...@c-ware.de>; Apache Royale Development <
> >> dev@royale.apache.org>
> >> *Betreff:* Re: Configuring source maps on Royale with new compiler
> >> options
> >>
> >> Thanks Josh,
> >>
> >> since this seems to be more complicated than I thought due to maven
> >> needs, I'll add Chris to the thread, and also the dev mailing list that
> was
> >> lost on your response.
> >> Hope Chris can give us the best way to handle this with his maven
> >> knowledge.
> >>
> >> Thanks for your help
> >>
> >>
> >> El dom, 3 ene 2021 a las 23:00, Josh Tynjala (<
> joshtynj...@bowlerhat.dev>)
> >> escribió:
> >>
> >> I'm not sure that it's currently possible to use source-map-source-root
> >> correctly with Maven because Maven does not have an IDE-compatible SDK
> >> where the source files are located. The compiler relies on knowing where
> >> the original source files are to set the paths correctly.
> >>
> >> When building your app (such as TDJ), you could try adding the
> +royalelib
> >> option to your additionalCompilerOptions to point to an IDE-compatible
> SDK.
> >>
> >> It would look something like this:
> >>
> >> +royalelib=/path/to/royale-asjs/frameworks/
> >>
> >> This token (which you'll notice uses + instead of -) tells the compiler
> >> where the frameworks folder in an SDK is located. That's how it figures
> out
> >> how to map the paths relative to your project.
> >>
> >> I should also add that I think you may be using the wrong path with the
> >> source-map-source-root option. In my examples from an older thread, I
> did
> >> not point it at the "target" folder, but its parent instead. It may be
> that
> >> your setup is different for some reason that I'm not realizing, but I
> just
> >> thought that I'd point out where I could see a difference with what I
> >

Re: latest build, amf problem...

2021-01-06 Thread Carlos Rovira
Hi,

just responded in the issue you opened

El mié, 6 ene 2021 a las 4:06, Safrizal () escribió:

> latest build, amf not working anymore...
> running examples amf/SampleAmfWebApp as server and
> royale/RemoteObjectAMFTest as client
>
> code = "Server.Processing"
> message = "The supplied destination id is not registered with any service."
>
>
> Please help.
>
> Rizal
>
>
>
>
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Apache Royale reach 700 followers on Twitter!

2021-01-06 Thread Carlos Rovira
Hi,

congrats to all here at Apache Royale. We reached 700 followers on Twitter!
:)

https://twitter.com/ApacheRoyale/status/1346765239782678528

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Error extending bead Disabled

2021-01-05 Thread Carlos Rovira
ListView is more generalist and multiplarform bead so its normal you need
to do it while extending it


El El mar, 5 ene 2021 a las 12:46, Maria Jose Esteve 
escribió:

> You're absolutely right Carlos, I don't know how I didn't fall before,
> thank you.
> (I'm going to remove it because it really is not necessary, it was one of
> many tests I did, I think I remember that I needed this when extending the
> ListView)
>
> Everything is working now as expected.
> Thx.
> Hiedra
>
> -Mensaje original-
> De: Carlos Rovira 
> Enviado el: martes, 5 de enero de 2021 11:32
> Para: Apache Royale Development 
> Asunto: Re: Error extending bead Disabled
>
> Hi Maria Jose,
>
> I think the problem looking to the implementation you shared in the first
> email of this thread can be that you have a double platform implementation:
> Code for JS and code for SWF. If you add a function to the JS part, you
> need to add as well to the SWF.
>
> HTH
>
> El lun, 4 ene 2021 a las 11:44, Maria Jose Esteve ()
> escribió:
>
> > Sorry, I didn't make it clear that the error occurs when I specify a
> > value for the "beadToolTip" property
> >
> > Hiedra
> >
> > -Mensaje original-
> > De: Maria Jose Esteve  Enviado el: lunes, 4 de
> > enero de 2021 11:41
> > Para: dev@royale.apache.org
> > Asunto: RE: Error extending bead Disabled
> >
> > Thanks Carlos, after your modification I have been able to extend the
> > bead but it does not recognize the added properties:
> >
> > 
> >   
> >> beadToolTip="{tb_filter_tt}"/> 
> >
> > col: 94 Error: This attribute is unexpected. It will be ignored.
> >  > beadToolTip="{tb_filter_tt}"/>
> >
> > Do I have to declare ownership in any special way? What am I doing wrong?
> >
> > Thx
> > Hiedra
> >
> > -Mensaje original-
> > De: Carlos Rovira  Enviado el: lunes, 4 de
> > enero de 2021 10:00
> > Para: Apache Royale Development 
> > Asunto: Re: Error extending bead Disabled
> >
> > Hi,
> >
> > this seems to me like a bug, or something to work on the framework.
> > Thanks both to signal. I think I can solve the concrete Disable
> > problem extending from DispatcherBead, but hope others can give us
> > some thoughts about this problem and if it can be solved in other ways
> for other cases.
> >
> >
> > El lun, 4 ene 2021 a las 9:49, Maria Jose Esteve ()
> > escribió:
> >
> > > Hi Edward,
> > > Thanks for answering. If this is so ... how can I do it then?
> > > Has the same situation been given to you? Could you give me an
> > > example of how I should continue?
> > >
> > > Thx.
> > > Hiedra.
> > >
> > > -Mensaje original-
> > > De: Edward Stangler  Enviado el: lunes, 4 de
> > > enero de 2021 6:31
> > > Para: dev@royale.apache.org
> > > Asunto: Re: Error extending bead Disabled
> > >
> > >
> > > Jewel Disabled (the parent class) needs to extend DispatcherBead
> > > (instead of Bead) or EventDispatcher.
> > >
> > > My guess is that it's the "[Bindable]" part in Disabled causing the
> > > requirement.  Only happens if Disabled is in a library.
> > >
> > >
> > >
> > > On 1/3/2021 9:50 PM, Maria Jose Esteve wrote:
> > > > Hello,
> > > > I'm getting an error that I can't fix when extending bead Jewel
> > Disabled:
> > > >
> > > > interface method addEventListener in interface IEventDispatcher is
> > > > implemented with an incompatible signature in class
> > > > DisabledToolTip interface method removeEventListener in interface
> > > > IEventDispatcher is implemented with an incompatible signature in
> > > > class DisabledToolTip interface method dispatchEvent in interface
> > > > IEventDispatcher is implemented with an incompatible signature in
> > > > class DisabledToolTip
> > > >
> > > > It is not the first time I have encountered this error and it has
> > > > only
> > > been fixed when I create a copy of the main class and extend it.
> > > >
> > > > package com.xxx.xxx.jewel.beads.controls {
> > > >
> > > > import org.apache.royale.core.IToolTipBead;
> > > > import org.apache.royale.jewel.beads.controls.Disabled;
> > > >
> > > > COMPILE::JS
> > > > public class 

Re: Error extending bead Disabled

2021-01-05 Thread Carlos Rovira
Hi,

just went over all that beads and I left out the change:

- "org.apache.royale.jewel.beads.models.ArrayListSelectionModel" : This one
as you said implements EventDispatcher itself

- "org.apache.royale.jewel.beads.layouts.TileHorizontalLayout" and
"org.apache.royale.jewel.beads.layouts.TileVerticalLayout" has "LayoutBase"
as parent that extends "Bead". Don't have clear if layouts should extend
"DispatcherBead" instead of Bead, although we have bindable properties.
Thoughts?




El mar, 5 ene 2021 a las 11:31, Carlos Rovira ()
escribió:

> Hi Maria Jose,
>
> I think the problem looking to the implementation you shared in the first
> email of this thread can be that you have a double platform implementation:
> Code for JS and code for SWF. If you add a function to the JS part, you
> need to add as well to the SWF.
>
> HTH
>
> El lun, 4 ene 2021 a las 11:44, Maria Jose Esteve ()
> escribió:
>
>> Sorry, I didn't make it clear that the error occurs when I specify a
>> value for the "beadToolTip" property
>>
>> Hiedra
>>
>> -Mensaje original-
>> De: Maria Jose Esteve 
>> Enviado el: lunes, 4 de enero de 2021 11:41
>> Para: dev@royale.apache.org
>> Asunto: RE: Error extending bead Disabled
>>
>> Thanks Carlos, after your modification I have been able to extend the
>> bead but it does not recognize the added properties:
>>
>> 
>>   
>>   > beadToolTip="{tb_filter_tt}"/> 
>>
>> col: 94 Error: This attribute is unexpected. It will be ignored.
>> > beadToolTip="{tb_filter_tt}"/>
>>
>> Do I have to declare ownership in any special way? What am I doing wrong?
>>
>> Thx
>> Hiedra
>>
>> -Mensaje original-
>> De: Carlos Rovira  Enviado el: lunes, 4 de
>> enero de 2021 10:00
>> Para: Apache Royale Development 
>> Asunto: Re: Error extending bead Disabled
>>
>> Hi,
>>
>> this seems to me like a bug, or something to work on the framework.
>> Thanks both to signal. I think I can solve the concrete Disable problem
>> extending from DispatcherBead, but hope others can give us some thoughts
>> about this problem and if it can be solved in other ways for other cases.
>>
>>
>> El lun, 4 ene 2021 a las 9:49, Maria Jose Esteve ()
>> escribió:
>>
>> > Hi Edward,
>> > Thanks for answering. If this is so ... how can I do it then?
>> > Has the same situation been given to you? Could you give me an example
>> > of how I should continue?
>> >
>> > Thx.
>> > Hiedra.
>> >
>> > -Mensaje original-
>> > De: Edward Stangler  Enviado el: lunes, 4 de
>> > enero de 2021 6:31
>> > Para: dev@royale.apache.org
>> > Asunto: Re: Error extending bead Disabled
>> >
>> >
>> > Jewel Disabled (the parent class) needs to extend DispatcherBead
>> > (instead of Bead) or EventDispatcher.
>> >
>> > My guess is that it's the "[Bindable]" part in Disabled causing the
>> > requirement.  Only happens if Disabled is in a library.
>> >
>> >
>> >
>> > On 1/3/2021 9:50 PM, Maria Jose Esteve wrote:
>> > > Hello,
>> > > I'm getting an error that I can't fix when extending bead Jewel
>> Disabled:
>> > >
>> > > interface method addEventListener in interface IEventDispatcher is
>> > > implemented with an incompatible signature in class DisabledToolTip
>> > > interface method removeEventListener in interface IEventDispatcher
>> > > is implemented with an incompatible signature in class
>> > > DisabledToolTip interface method dispatchEvent in interface
>> > > IEventDispatcher is implemented with an incompatible signature in
>> > > class DisabledToolTip
>> > >
>> > > It is not the first time I have encountered this error and it has
>> > > only
>> > been fixed when I create a copy of the main class and extend it.
>> > >
>> > > package com.xxx.xxx.jewel.beads.controls {
>> > >
>> > > import org.apache.royale.core.IToolTipBead;
>> > > import org.apache.royale.jewel.beads.controls.Disabled;
>> > >
>> > > COMPILE::JS
>> > > public class DisabledToolTip extends Disabled
>> > > {
>> > >
>> > > public function DisabledToolTip()
>> > > {
>> > > super();
>> >

Re: Error extending bead Disabled

2021-01-05 Thread Carlos Rovira
Hi Maria Jose,

I think the problem looking to the implementation you shared in the first
email of this thread can be that you have a double platform implementation:
Code for JS and code for SWF. If you add a function to the JS part, you
need to add as well to the SWF.

HTH

El lun, 4 ene 2021 a las 11:44, Maria Jose Esteve ()
escribió:

> Sorry, I didn't make it clear that the error occurs when I specify a value
> for the "beadToolTip" property
>
> Hiedra
>
> -Mensaje original-
> De: Maria Jose Esteve 
> Enviado el: lunes, 4 de enero de 2021 11:41
> Para: dev@royale.apache.org
> Asunto: RE: Error extending bead Disabled
>
> Thanks Carlos, after your modification I have been able to extend the bead
> but it does not recognize the added properties:
>
> 
>   
>beadToolTip="{tb_filter_tt}"/> 
>
> col: 94 Error: This attribute is unexpected. It will be ignored.
>  beadToolTip="{tb_filter_tt}"/>
>
> Do I have to declare ownership in any special way? What am I doing wrong?
>
> Thx
> Hiedra
>
> -Mensaje original-
> De: Carlos Rovira  Enviado el: lunes, 4 de enero
> de 2021 10:00
> Para: Apache Royale Development 
> Asunto: Re: Error extending bead Disabled
>
> Hi,
>
> this seems to me like a bug, or something to work on the framework. Thanks
> both to signal. I think I can solve the concrete Disable problem extending
> from DispatcherBead, but hope others can give us some thoughts about this
> problem and if it can be solved in other ways for other cases.
>
>
> El lun, 4 ene 2021 a las 9:49, Maria Jose Esteve ()
> escribió:
>
> > Hi Edward,
> > Thanks for answering. If this is so ... how can I do it then?
> > Has the same situation been given to you? Could you give me an example
> > of how I should continue?
> >
> > Thx.
> > Hiedra.
> >
> > -Mensaje original-
> > De: Edward Stangler  Enviado el: lunes, 4 de
> > enero de 2021 6:31
> > Para: dev@royale.apache.org
> > Asunto: Re: Error extending bead Disabled
> >
> >
> > Jewel Disabled (the parent class) needs to extend DispatcherBead
> > (instead of Bead) or EventDispatcher.
> >
> > My guess is that it's the "[Bindable]" part in Disabled causing the
> > requirement.  Only happens if Disabled is in a library.
> >
> >
> >
> > On 1/3/2021 9:50 PM, Maria Jose Esteve wrote:
> > > Hello,
> > > I'm getting an error that I can't fix when extending bead Jewel
> Disabled:
> > >
> > > interface method addEventListener in interface IEventDispatcher is
> > > implemented with an incompatible signature in class DisabledToolTip
> > > interface method removeEventListener in interface IEventDispatcher
> > > is implemented with an incompatible signature in class
> > > DisabledToolTip interface method dispatchEvent in interface
> > > IEventDispatcher is implemented with an incompatible signature in
> > > class DisabledToolTip
> > >
> > > It is not the first time I have encountered this error and it has
> > > only
> > been fixed when I create a copy of the main class and extend it.
> > >
> > > package com.xxx.xxx.jewel.beads.controls {
> > >
> > > import org.apache.royale.core.IToolTipBead;
> > > import org.apache.royale.jewel.beads.controls.Disabled;
> > >
> > > COMPILE::JS
> > > public class DisabledToolTip extends Disabled
> > > {
> > >
> > > public function DisabledToolTip()
> > > {
> > > super();
> > > }
> > >
> > > private var _beadToolTip:IToolTipBead;
> > > public function set beadToolTip(value:IToolTipBead):void
> > > {
> > > _beadToolTip = value;
> > >     }
> > >
> > > override protected function updateHost():void
> > >     {
> > > super.updateHost();
> > >
> > > if(disabled) {
> > > if(_beadToolTip) {
> > > _beadToolTip.removeTip();
> > > }
> > > }
> > > }
> > > }
> > >
> > > COMPILE::SWF
> > > public class DisabledToolTip extends Disabled
> > > {
> > > public function DisabledToolTip()
> > > {
> > > super();
> > > }
> > > }
> > > }
> > >
> > > Any ideas?
> > > Thx.
> > > Hiedra.
> > >
> >
> >
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Error extending bead Disabled

2021-01-05 Thread Carlos Rovira
Thanks Edward for sharing that list, very helpful,
I'll go over that beads and see what needs to be fixed.

El lun, 4 ene 2021 a las 11:03, Edward Stangler ()
escribió:

>
> FWIW, I haven't tested these, but the following are Jewel classes with
> "[Bindable" that don't extend the appropriate class and are candidates
> for further testing:
>
> org.apache.royale.jewel.beads.controls.Badge
>
> org.apache.royale.jewel.beads.controls.combobox.ComboBoxListCloseOnClick
>
>
> org.apache.royale.jewel.beads.controls.datechooser.DateChooserDateRangeRestriction
>
>
> org.apache.royale.jewel.beads.controls.datefield.DateFieldDateRangeRestriction
> org.apache.royale.jewel.beads.controls.Disabled
> org.apache.royale.jewel.beads.controls.textinput.SearchFilterForList
> org.apache.royale.jewel.beads.controls.button.InputButtonSize
> org.apache.royale.jewel.beads.controls.textinput.TextPrompt
> org.apache.royale.jewel.beads.controls.ToolTip
> org.apache.royale.jewel.beads.layouts.TileHorizontalLayout
> org.apache.royale.jewel.beads.layouts.TileVerticalLayout
> org.apache.royale.jewel.beads.models.ArrayListSelectionModel
>
> Note that some, like ArrayListSelectionModel, may be implementing the
> EventDispatcher stuff themselves and might not be affected.
>
>
> On 1/4/2021 3:01 AM, Carlos Rovira wrote:
> > Hi,
> >
> > this seems to me like a bug, or something to work on the framework.
> Thanks
> > both to signal. I think I can solve the concrete Disable problem
> extending
> > from DispatcherBead, but hope others can give us some thoughts about this
> > problem and if it can be solved in other ways for other cases.
> >
> >
> > El lun, 4 ene 2021 a las 9:49, Maria Jose Esteve
> > escribió:
> >
> >> Hi Edward,
> >> Thanks for answering. If this is so ... how can I do it then?
> >> Has the same situation been given to you? Could you give me an example
> of
> >> how I should continue?
> >>
> >> Thx.
> >> Hiedra.
> >>
> >> -Mensaje original-
> >> De: Edward Stangler
> >> Enviado el: lunes, 4 de enero de 2021 6:31
> >> Para: dev@royale.apache.org
> >> Asunto: Re: Error extending bead Disabled
> >>
> >>
> >> Jewel Disabled (the parent class) needs to extend DispatcherBead
> (instead
> >> of Bead) or EventDispatcher.
> >>
> >> My guess is that it's the "[Bindable]" part in Disabled causing the
> >> requirement.  Only happens if Disabled is in a library.
> >>
> >>
> >>
> >> On 1/3/2021 9:50 PM, Maria Jose Esteve wrote:
> >>> Hello,
> >>> I'm getting an error that I can't fix when extending bead Jewel
> Disabled:
> >>>
> >>> interface method addEventListener in interface IEventDispatcher is
> >>> implemented with an incompatible signature in class DisabledToolTip
> >>> interface method removeEventListener in interface IEventDispatcher is
> >>> implemented with an incompatible signature in class DisabledToolTip
> >>> interface method dispatchEvent in interface IEventDispatcher is
> >>> implemented with an incompatible signature in class DisabledToolTip
> >>>
> >>> It is not the first time I have encountered this error and it has only
> >> been fixed when I create a copy of the main class and extend it.
> >>> package com.xxx.xxx.jewel.beads.controls {
> >>>
> >>> import org.apache.royale.core.IToolTipBead;
> >>> import org.apache.royale.jewel.beads.controls.Disabled;
> >>>
> >>> COMPILE::JS
> >>> public class DisabledToolTip extends Disabled
> >>> {
> >>>
> >>> public function DisabledToolTip()
> >>> {
> >>> super();
> >>> }
> >>>
> >>> private var _beadToolTip:IToolTipBead;
> >>> public function set beadToolTip(value:IToolTipBead):void
> >>> {
> >>> _beadToolTip = value;
> >>> }
> >>>
> >>> override protected function updateHost():void
> >>> {
> >>> super.updateHost();
> >>>
> >>> if(disabled) {
> >>> if(_beadToolTip) {
> >>> _beadToolTip.removeTip();
> >>> }
> >>> }
> >>> }
> >>> }
> >>>
> >>> COMPILE::SWF
> >>> public class DisabledToolTip extends Disabled
> >>> {
> >>> public function DisabledToolTip()
> >>> {
> >>> super();
> >>> }
> >>> }
> >>> }
> >>>
> >>> Any ideas?
> >>> Thx.
> >>> Hiedra.
> >>>
> >>
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: drag and drop is nor working in mxroyale

2021-01-05 Thread Carlos Rovira
In theory, Royale has drag'n drop finished and working in Basic but
emulation libs and Jewel need to implement it, so some work is required in
these UI sets. Volunteers are welcome to make it real.

El mar, 5 ene 2021 a las 6:26, Edward Stangler ()
escribió:

>
> Drag-and-drop does not seem to be implemented in MX AdvancedDataGrid,
> currently, from what I see in the code.
>
>
> On 1/4/2021 4:45 AM, Nallathambi, Varunkumar wrote:
> > Hi,
> >   Drag and drop is not working on mxroyale advanced
> datagrid. Do we have the feature available? Kindly do share some example to
> implement the same.
> >
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-05 Thread Carlos Rovira
Hi Josh,

I think that's a very good idea. As less external dependencies we have the
better. And I think that means one thing less to download or manage by
mavenizer.

Could it be possible that you contribute it?

Thanks


El lun, 4 ene 2021 a las 21:53, Josh Tynjala ()
escribió:

> If necessary, I believe that we can create our own custom playerglobal.swc
> without running into license issues.
>
> Basically, the official playerglobal.swc contains only the APIs, and no
> implementation, so it's basically like the typedef/externs SWCs that we
> create for JS libraries in Royale
>
> The Apache Flex repo contains full ASDoc XML files for playerglobal.swc
> under an Apache license. These files should contain enough information
> about variable/property types and method signatures that someone could
> write a parser to get all of the data we need to generate AS3 stub classes
> and build a SWC from that.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Sun, Jan 3, 2021 at 11:07 AM Harbs  wrote:
>
> > Let’s wait and see whether we are dealing with real issues or not. If
> it’s
> > an issue we can debate solutions.
> >
> > I’m happy to ask my Adobe contacts what the plan is.
> >
> > > On Jan 3, 2021, at 8:52 PM, Carlos Rovira 
> > wrote:
> > >
> > > Hi Harbs,
> > >
> > > the problem here's that I think we are on Apache, and using a piece of
> > > software that is under a clear license use will be against the
> foundation
> > > rules. So although you or I can host the files, that's not seem to me
> > like
> > > a solution to the real problem.
> > >
> > > I'm for go step by step and first try to talk with Adobe
> representatives
> > to
> > > get the permission for Apache to host the player files only for our
> flex
> > > and royale use cases. I think we could continue discussion after we
> know
> > > the solution to this request
> > >
> > > Can you, Alex or others do this request? or if you want I can do it,
> but
> > > need someone to provide me the contact at adobe.
> > >
> > > Thanks
> > >
> > >
> > >
> > > El dom, 3 ene 2021 a las 15:59, Harbs ()
> > escribió:
> > >
> > >> There’s no license agreement when downloading playerglobal or the
> > content
> > >> debugger.
> > >>
> > >> I’m willing to take the risk to personally host these files if
> > necessary.
> > >>
> > >>> On Jan 3, 2021, at 4:47 PM, Christofer Dutz <
> christofer.d...@c-ware.de
> > >
> > >> wrote:
> > >>>
> > >>> And I doubt we would be allowed to simply upload Adobe stuff to any
> > >> other server wirhout explicit conset from them. The license agreement
> > you
> > >> agreed to when downloading explicitly forbids that (at least it did,
> > wenn
> > >> we were working on the Flex Mavenizer and I doubt things changed)
> > >>
> > >>
> > >
> > > --
> > > Carlos Rovira
> > > Apache Member & Apache Royale PMC
> > > *Apache Software Foundation*
> > > http://about.me/carlosrovira
> >
> >
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Apache Royale was the third project with most active developer mailing lists in 2020

2021-01-05 Thread Carlos Rovira
Hi,

as reported by The ASF here [1] check this tweet:

https://twitter.com/ApacheRoyale/status/1346387146601619457

Best regards


[1] https://blogs.apache.org/foundation/entry/apache-in-2020-by-the
-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Configuring source maps on Royale with new compiler options

2021-01-04 Thread Carlos Rovira
Ok Chris,
many thanks!

El lun, 4 ene 2021 a las 12:58, Christofer Dutz ()
escribió:

> Ok …
>
> I’ll try to have a look at that asap … but gotta finish some other things
> first.
>
>
> Chris
>
>
> Von: Carlos Rovira 
> Gesendet: Montag, 4. Januar 2021 10:17
> An: Christofer Dutz 
> Cc: Josh Tynjala ; Apache Royale Development <
> dev@royale.apache.org>
> Betreff: Re: Configuring source maps on Royale with new compiler options
>
> Hi Chis,
>
> to get debugging in Royale we now have additional compiler option called
> "source-map-source-root" that complements "source-map".
> I try this (without referring to `target` folder as Josh said):
>
> In Jewel:
>
>   
>
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> -source-map=true;
> -source-map-source-root=/frameworks/projects/Jewel/
>   
>
> and in TDJ:
>
>
> +royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
> -source-map=true;
> -source-map-source-root=/examples/jewel/TourDeJewel
>   
>
> but no luck.
>
> So if +royalelib doesn't work for Maven maybe it should be something like
> "-source-map-source-root=$$$/frameworks/projects/Jewel/", where $$$ is a
> token for a valid SDK.
> As Josh said "Maven does not have an IDE-compatible SDK", so I think we
> need to add some -DroyaleSDK var like we do when create distribution? Or
> maybe you have a better idea.
>
> So we'll need to configure that var in local, in build server, and so on
> to generate the right pahs.
> Hope this make sense.
>
> Carlos
>
>
>
> El lun, 4 ene 2021 a las 8:31, Christofer Dutz ( <mailto:christofer.d...@c-ware.de>>) escribió:
> Hi all,
>
> Sure, happy to help, but what exactly do you need?
>
> Chris
> 
> Von: Carlos Rovira mailto:carlosrov...@apache.org
> >>
> Gesendet: Sonntag, 3. Januar 2021 23:23
> An: Josh Tynjala  joshtynj...@bowlerhat.dev>>; Christofer Dutz  <mailto:christofer.d...@c-ware.de>>; Apache Royale Development <
> dev@royale.apache.org<mailto:dev@royale.apache.org>>
> Betreff: Re: Configuring source maps on Royale with new compiler options
>
> Thanks Josh,
>
> since this seems to be more complicated than I thought due to maven needs,
> I'll add Chris to the thread, and also the dev mailing list that was lost
> on your response.
> Hope Chris can give us the best way to handle this with his maven
> knowledge.
>
> Thanks for your help
>
>
> El dom, 3 ene 2021 a las 23:00, Josh Tynjala ( <mailto:joshtynj...@bowlerhat.dev>>) escribió:
> I'm not sure that it's currently possible to use source-map-source-root
> correctly with Maven because Maven does not have an IDE-compatible SDK
> where the source files are located. The compiler relies on knowing where
> the original source files are to set the paths correctly.
>
> When building your app (such as TDJ), you could try adding the +royalelib
> option to your additionalCompilerOptions to point to an IDE-compatible SDK.
>
> It would look something like this:
>
> +royalelib=/path/to/royale-asjs/frameworks/
>
> This token (which you'll notice uses + instead of -) tells the compiler
> where the frameworks folder in an SDK is located. That's how it figures out
> how to map the paths relative to your project.
>
> I should also add that I think you may be using the wrong path with the
> source-map-source-root option. In my examples from an older thread, I did
> not point it at the "target" folder, but its parent instead. It may be that
> your setup is different for some reason that I'm not realizing, but I just
> thought that I'd point out where I could see a difference with what I
> showed before.
>
> --
> Josh Tynjala
> Bowler Hat LLC<https://bowlerhat.dev>
>
>
> On Sun, Jan 3, 2021 at 11:03 AM Carlos Rovira  <mailto:carlosrov...@apache.org>> wrote:
> Hi Josh,
>
> I have a little time now and want to try to set up sourcemaps on Royale by
> default. For this to happen we need a solution that is general so it works
> on local, for people using nightly builds, or a released SDK.
>
> I want to try it locally and ask on list with a final working solution in
> hand and see if Greg and others are ok with it.
>
> I'm trying with this code in Jewel library:
>
>   
> -source-map=true;
>     -source-map-source-root=/frameworks/projects/Jewel/target/
>   
>
> And in TDJ this:
>
>         -source-map=true;
> -source-map-source-root=/examples/jewel/TourD

Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-04 Thread Carlos Rovira
Hi Chris,

we're talking with Andrew Frost from Harman about it.
I think better add you to the thread so you can read what we talked about
and ensure the effort is in he right direction.
Thanks

El lun, 4 ene 2021 a las 12:58, Christofer Dutz ()
escribió:

> Hi Carlos,
>
>
>
> as this is only one artifact, I would probably use something completely
> different, which wouldn’t make the use of the mavenizer required at all for
> getting the playerglobal.
>
>
>
> We probably still need it for the AIR stuff, but I think that’s till
> available, isn
> t it?
>
>
>
> Chris
>
>
>
> *Von:* Carlos Rovira 
> *Gesendet:* Montag, 4. Januar 2021 09:33
> *An:* Apache Royale Development ; Christofer Dutz <
> christofer.d...@c-ware.de>
> *Betreff:* Re: [Discuss] What to do with SWF target now that Adobe
> removed Flash Player in 2021 (Re: How to build from now on?)
>
>
>
> Ok,
>
>
>
> @Christofer Dutz  can you update and release
> mavenizer to use
>
>
>
>
> https://fpdownload.macromedia.com/get/flashplayer/updaters/32/playerglobal32_0.swc
>
>
>
> instead:
>
>
>
>
> https://fpdownload.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal20_0.swc
>
>
>
> I think that would solve the issue to build from a clean computer right?
>
>
>
> anyway i wonder if this url will be valid for long
>
>
>
>
>
> El dom, 3 ene 2021 a las 23:44, Harbs () escribió:
>
> Why not just point to the current playerglobal?
>
> https://fpdownload.macromedia.com/get/flashplayer/updaters/32/playerglobal32_0.swc
>
>
> > On Jan 4, 2021, at 12:30 AM, Carlos Rovira 
> wrote:
> >
> > Hi, I think we are in real problems now.
> > If a new user comes and try to build he can't. Since he can download the
> > playerglobal.swc.
> > So for me that's a real problems today.
> >
> > El dom, 3 ene 2021 a las 20:07, Harbs ()
> escribió:
> >
> >> Let’s wait and see whether we are dealing with real issues or not. If
> it’s
> >> an issue we can debate solutions.
> >>
> >> I’m happy to ask my Adobe contacts what the plan is.
> >>
> >>> On Jan 3, 2021, at 8:52 PM, Carlos Rovira 
> >> wrote:
> >>>
> >>> Hi Harbs,
> >>>
> >>> the problem here's that I think we are on Apache, and using a piece of
> >>> software that is under a clear license use will be against the
> foundation
> >>> rules. So although you or I can host the files, that's not seem to me
> >> like
> >>> a solution to the real problem.
> >>>
> >>> I'm for go step by step and first try to talk with Adobe
> representatives
> >> to
> >>> get the permission for Apache to host the player files only for our
> flex
> >>> and royale use cases. I think we could continue discussion after we
> know
> >>> the solution to this request
> >>>
> >>> Can you, Alex or others do this request? or if you want I can do it,
> but
> >>> need someone to provide me the contact at adobe.
> >>>
> >>> Thanks
> >>>
> >>>
> >>>
> >>> El dom, 3 ene 2021 a las 15:59, Harbs ()
> >> escribió:
> >>>
> >>>> There’s no license agreement when downloading playerglobal or the
> >> content
> >>>> debugger.
> >>>>
> >>>> I’m willing to take the risk to personally host these files if
> >> necessary.
> >>>>
> >>>>> On Jan 3, 2021, at 4:47 PM, Christofer Dutz <
> christofer.d...@c-ware.de
> >>>
> >>>> wrote:
> >>>>>
> >>>>> And I doubt we would be allowed to simply upload Adobe stuff to any
> >>>> other server wirhout explicit conset from them. The license agreement
> >> you
> >>>> agreed to when downloading explicitly forbids that (at least it did,
> >> wenn
> >>>> we were working on the Flex Mavenizer and I doubt things changed)
> >>>>
> >>>>
> >>>
> >>> --
> >>> Carlos Rovira
> >>> Apache Member & Apache Royale PMC
> >>> *Apache Software Foundation*
> >>> http://about.me/carlosrovira
> >>
> >>
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
>
>
>
>
> --
>
> Carlos Rovira
>
> Apache Member & Apache Royale PMC
>
> *Apache Software Foundation*
>
> http://about.me/carlosrovira
>
>
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Configuring source maps on Royale with new compiler options

2021-01-04 Thread Carlos Rovira
Hi Chis,

to get debugging in Royale we now have additional compiler option called
"source-map-source-root" that complements "source-map".
I try this (without referring to `target` folder as Josh said):

In Jewel:


+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
-source-map=true;
-source-map-source-root=/frameworks/projects/Jewel/


and in TDJ:

+royalelib=/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven
-source-map=true;
-source-map-source-root=/examples/jewel/TourDeJewel


but no luck.

So if +royalelib doesn't work for Maven maybe it should be something like "
-source-map-source-root=$$$/frameworks/projects/Jewel/", where $$$ is a
token for a valid SDK.
As Josh said "Maven does not have an IDE-compatible SDK", so I think we
need to add some -DroyaleSDK var like we do when create distribution? Or
maybe you have a better idea.

So we'll need to configure that var in local, in build server, and so on to
generate the right pahs.
Hope this make sense.

Carlos



El lun, 4 ene 2021 a las 8:31, Christofer Dutz ()
escribió:

> Hi all,
>
> Sure, happy to help, but what exactly do you need?
>
> Chris
> --
> *Von:* Carlos Rovira 
> *Gesendet:* Sonntag, 3. Januar 2021 23:23
> *An:* Josh Tynjala ; Christofer Dutz <
> christofer.d...@c-ware.de>; Apache Royale Development <
> dev@royale.apache.org>
> *Betreff:* Re: Configuring source maps on Royale with new compiler options
>
> Thanks Josh,
>
> since this seems to be more complicated than I thought due to maven needs,
> I'll add Chris to the thread, and also the dev mailing list that was lost
> on your response.
> Hope Chris can give us the best way to handle this with his maven
> knowledge.
>
> Thanks for your help
>
>
> El dom, 3 ene 2021 a las 23:00, Josh Tynjala ()
> escribió:
>
> I'm not sure that it's currently possible to use source-map-source-root
> correctly with Maven because Maven does not have an IDE-compatible SDK
> where the source files are located. The compiler relies on knowing where
> the original source files are to set the paths correctly.
>
> When building your app (such as TDJ), you could try adding the +royalelib
> option to your additionalCompilerOptions to point to an IDE-compatible SDK.
>
> It would look something like this:
>
> +royalelib=/path/to/royale-asjs/frameworks/
>
> This token (which you'll notice uses + instead of -) tells the compiler
> where the frameworks folder in an SDK is located. That's how it figures out
> how to map the paths relative to your project.
>
> I should also add that I think you may be using the wrong path with the
> source-map-source-root option. In my examples from an older thread, I did
> not point it at the "target" folder, but its parent instead. It may be that
> your setup is different for some reason that I'm not realizing, but I just
> thought that I'd point out where I could see a difference with what I
> showed before.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Sun, Jan 3, 2021 at 11:03 AM Carlos Rovira 
> wrote:
>
> Hi Josh,
>
> I have a little time now and want to try to set up sourcemaps on Royale by
> default. For this to happen we need a solution that is general so it works
> on local, for people using nightly builds, or a released SDK.
>
> I want to try it locally and ask on list with a final working solution in
> hand and see if Greg and others are ok with it.
>
> I'm trying with this code in Jewel library:
>
>   
> -source-map=true;
> -source-map-source-root=/frameworks/projects/Jewel/target/
>   
>
> And in TDJ this:
>
> -source-map=true;
> -source-map-source-root=/examples/jewel/TourDeJewel/target
>   
>
> But I'm not getting it to work when debug TDJ. So I'm a bit lost on this.
> Can you propose the config so I can try it?
>
> Thanks
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>
>
> --
> Carlos Rovira
> Apache Member & Apache Royale PMC
> *Apache Software Foundation*
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: Error extending bead Disabled

2021-01-04 Thread Carlos Rovira
Hi,

this seems to me like a bug, or something to work on the framework. Thanks
both to signal. I think I can solve the concrete Disable problem extending
from DispatcherBead, but hope others can give us some thoughts about this
problem and if it can be solved in other ways for other cases.


El lun, 4 ene 2021 a las 9:49, Maria Jose Esteve ()
escribió:

> Hi Edward,
> Thanks for answering. If this is so ... how can I do it then?
> Has the same situation been given to you? Could you give me an example of
> how I should continue?
>
> Thx.
> Hiedra.
>
> -Mensaje original-
> De: Edward Stangler 
> Enviado el: lunes, 4 de enero de 2021 6:31
> Para: dev@royale.apache.org
> Asunto: Re: Error extending bead Disabled
>
>
> Jewel Disabled (the parent class) needs to extend DispatcherBead (instead
> of Bead) or EventDispatcher.
>
> My guess is that it's the "[Bindable]" part in Disabled causing the
> requirement.  Only happens if Disabled is in a library.
>
>
>
> On 1/3/2021 9:50 PM, Maria Jose Esteve wrote:
> > Hello,
> > I'm getting an error that I can't fix when extending bead Jewel Disabled:
> >
> > interface method addEventListener in interface IEventDispatcher is
> > implemented with an incompatible signature in class DisabledToolTip
> > interface method removeEventListener in interface IEventDispatcher is
> > implemented with an incompatible signature in class DisabledToolTip
> > interface method dispatchEvent in interface IEventDispatcher is
> > implemented with an incompatible signature in class DisabledToolTip
> >
> > It is not the first time I have encountered this error and it has only
> been fixed when I create a copy of the main class and extend it.
> >
> > package com.xxx.xxx.jewel.beads.controls {
> >
> > import org.apache.royale.core.IToolTipBead;
> > import org.apache.royale.jewel.beads.controls.Disabled;
> >
> > COMPILE::JS
> > public class DisabledToolTip extends Disabled
> > {
> >
> > public function DisabledToolTip()
> > {
> > super();
> > }
> >
> > private var _beadToolTip:IToolTipBead;
> > public function set beadToolTip(value:IToolTipBead):void
> > {
> > _beadToolTip = value;
> > }
> >
> > override protected function updateHost():void
> > {
> > super.updateHost();
> >
> > if(disabled) {
> > if(_beadToolTip) {
> > _beadToolTip.removeTip();
> > }
> > }
> > }
> > }
> >
> > COMPILE::SWF
> > public class DisabledToolTip extends Disabled
> > {
> > public function DisabledToolTip()
> > {
> > super();
> > }
> > }
> > }
> >
> > Any ideas?
> > Thx.
> > Hiedra.
> >
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-04 Thread Carlos Rovira
Hi Alex,

ok thanks. For optional I was meaning to not make SWF play in normal builds
or releases if we can't ensure the foundation bits from Adobe.
It seems that for now the things are partially solved with the working URLs
provided by Harbs.
I think if Chris update mavenizer to use the playerglobal.swc new url, we
are ok for now.
Although this can change if the urls are temporal and Adobe plan to remove
soon. If that's the case, we will need to reopen this thread soon.

Let's see how it goes

Thanks

Carlos


El lun, 4 ene 2021 a las 7:28, Alex Harui ()
escribió:

> SWF support should already be optional.  I don't think Adobe bits are
> needed to generate SWCs.  The SWF in a SWC is written and read by compiler
> code.  The "js-only" packages don't require Adobe bits AFAIK.
>
> Of course, I could be wrong...
> -Alex
>
> On 1/3/21, 6:31 AM, "Harbs"  wrote:
>
> We can’t make swf optional until we can compile SWCs without SWF
> support.
>
> We don’t hyet know what will be available from Adobe’s website.
>
> If the necessary pieces will no longer be available from Adobe, we can
> put it on some other server.
>
> A longer-term strategy of making SWF optional is something we can
> consider, but we are a long way from there currently, so the discussion is
> premature IMO.
>
> My $0.02,
> Harbs
>
> > On Jan 3, 2021, at 1:01 PM, Carlos Rovira <
> carlos.rov...@codeoscopic.com> wrote:
> >
> > Hi Chris,
> >
> > thanks for taking a look and report this. I think this is a big
> issue that
> > we all should discuss. So changing the topic to [Discuss].
> > A clear action is needed from the PMC here.
> >
> > For me the options are:
> >
> > 1.- Make SWF something optional in all the builds and releases, but
> not
> > required. So SWF target can become obsolete and not maintained or
> seen as
> > an issue for releasing. People can add manually the Flash Player in
> its
> > repo if they have it and continue building and ensure things continue
> > working, but the JS will be the main and unique requested target
> until we
> > have another like WASM in the future (if that happen on day). The
> main
> > problem will be that Apache Royale will lose eventually the double
> target
> > we have right now as something we know is working, at least in an
> > official way.
> >
> > 2.- As Chris said, see if there's some way to make Adobe provide a
> special
> > use case for the playerglobal.swc and let us use it. I think that not
> > should be a problem since that bits are not really useful or harmful
> > without the Flash Player to run things on browsers. But I figure the
> Adobe
> > response will be just a simple "NO". But we can try before falling
> back to
> > option 1. For this to happen I think someone like Alex Harui that is
> inside
> > Adobe can move the threads internally or just let to us and give
> some Adobe
> > contact to ask for this permission. I think the Apache Flex donation
> to
> > Apache seems to me broken without this, since the project is now
> broken,
> > and Apache Royale is in the same boat.
> >
> > More options? Thoughts?
> >
> > Thanks
> >
> > Carlos
> >
> >
> > El dom, 3 ene 2021 a las 11:21, Christofer Dutz (<
> christofer.d...@c-ware.de>)
> > escribió:
> >
> >> Hi all,
> >>
> >> in December I got my new Laptop and set it up. I forgot to get the
> Flash
> >> Debug player.
> >> Now I did manage to download the 32 bit version of the Content
> Debuger,
> >> but already some of the downloads on the download page:
> >> Adobe Flash Player - Debug Downloads<
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.adobe.com%2Fsupport%2Fflashplayer%2Fdebug_downloads.htmldata=04%7C01%7Caharui%40adobe.com%7Cb4399cb362ba4efcdf7c08d8aff441fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637452810972763721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=nklaio%2BraK5RI%2BmEEIhRVeiM%2Fve4XNQL8RXO5BPLYpE%3Dreserved=0
> >
> >> Result in 404s
> >>
> >> Will the 32bit content debugger stay available? If not we will be
> cutting
> >> off new contributors. Cause building with the "with-flash" profile
> will not
> >> be possible.
> >>
> >> So 

Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-04 Thread Carlos Rovira
Hi Edward,

this official URL works :
https://www.adobe.com/support/flashplayer/debug_downloads.html
But don't know if it's temporal or not.

El lun, 4 ene 2021 a las 1:06, Edward Stangler ()
escribió:

>
>
> https://web.archive.org/web/20210102180106/https://www.adobe.com/support/flashplayer/debug_downloads.html
>
>
>
> On 1/3/2021 9:00 AM, Harbs wrote:
> > There’s no license agreement when downloading playerglobal or the
> content debugger.
> >
> > I’m willing to take the risk to personally host these files if necessary.
> >
> >> On Jan 3, 2021, at 4:47 PM, Christofer Dutz 
> wrote:
> >>
> >> And I doubt we would be allowed to simply upload Adobe stuff to any
> other server wirhout explicit conset from them. The license agreement you
> agreed to when downloading explicitly forbids that (at least it did, wenn
> we were working on the Flex Mavenizer and I doubt things changed)
> >
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-04 Thread Carlos Rovira
Ok,

@Christofer Dutz  can you update and release
mavenizer to use

https://fpdownload.macromedia.com/get/flashplayer/updaters/32/playerglobal32_0.swc

instead:

https://fpdownload.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal20_0.swc

I think that would solve the issue to build from a clean computer right?

anyway i wonder if this url will be valid for long


El dom, 3 ene 2021 a las 23:44, Harbs () escribió:

> Why not just point to the current playerglobal?
>
> https://fpdownload.macromedia.com/get/flashplayer/updaters/32/playerglobal32_0.swc
>
>
> > On Jan 4, 2021, at 12:30 AM, Carlos Rovira 
> wrote:
> >
> > Hi, I think we are in real problems now.
> > If a new user comes and try to build he can't. Since he can download the
> > playerglobal.swc.
> > So for me that's a real problems today.
> >
> > El dom, 3 ene 2021 a las 20:07, Harbs ()
> escribió:
> >
> >> Let’s wait and see whether we are dealing with real issues or not. If
> it’s
> >> an issue we can debate solutions.
> >>
> >> I’m happy to ask my Adobe contacts what the plan is.
> >>
> >>> On Jan 3, 2021, at 8:52 PM, Carlos Rovira 
> >> wrote:
> >>>
> >>> Hi Harbs,
> >>>
> >>> the problem here's that I think we are on Apache, and using a piece of
> >>> software that is under a clear license use will be against the
> foundation
> >>> rules. So although you or I can host the files, that's not seem to me
> >> like
> >>> a solution to the real problem.
> >>>
> >>> I'm for go step by step and first try to talk with Adobe
> representatives
> >> to
> >>> get the permission for Apache to host the player files only for our
> flex
> >>> and royale use cases. I think we could continue discussion after we
> know
> >>> the solution to this request
> >>>
> >>> Can you, Alex or others do this request? or if you want I can do it,
> but
> >>> need someone to provide me the contact at adobe.
> >>>
> >>> Thanks
> >>>
> >>>
> >>>
> >>> El dom, 3 ene 2021 a las 15:59, Harbs ()
> >> escribió:
> >>>
> >>>> There’s no license agreement when downloading playerglobal or the
> >> content
> >>>> debugger.
> >>>>
> >>>> I’m willing to take the risk to personally host these files if
> >> necessary.
> >>>>
> >>>>> On Jan 3, 2021, at 4:47 PM, Christofer Dutz <
> christofer.d...@c-ware.de
> >>>
> >>>> wrote:
> >>>>>
> >>>>> And I doubt we would be allowed to simply upload Adobe stuff to any
> >>>> other server wirhout explicit conset from them. The license agreement
> >> you
> >>>> agreed to when downloading explicitly forbids that (at least it did,
> >> wenn
> >>>> we were working on the Flex Mavenizer and I doubt things changed)
> >>>>
> >>>>
> >>>
> >>> --
> >>> Carlos Rovira
> >>> Apache Member & Apache Royale PMC
> >>> *Apache Software Foundation*
> >>> http://about.me/carlosrovira
> >>
> >>
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-03 Thread Carlos Rovira
Hi, I think we are in real problems now.
If a new user comes and try to build he can't. Since he can download the
playerglobal.swc.
So for me that's a real problems today.

El dom, 3 ene 2021 a las 20:07, Harbs () escribió:

> Let’s wait and see whether we are dealing with real issues or not. If it’s
> an issue we can debate solutions.
>
> I’m happy to ask my Adobe contacts what the plan is.
>
> > On Jan 3, 2021, at 8:52 PM, Carlos Rovira 
> wrote:
> >
> > Hi Harbs,
> >
> > the problem here's that I think we are on Apache, and using a piece of
> > software that is under a clear license use will be against the foundation
> > rules. So although you or I can host the files, that's not seem to me
> like
> > a solution to the real problem.
> >
> > I'm for go step by step and first try to talk with Adobe representatives
> to
> > get the permission for Apache to host the player files only for our flex
> > and royale use cases. I think we could continue discussion after we know
> > the solution to this request
> >
> > Can you, Alex or others do this request? or if you want I can do it, but
> > need someone to provide me the contact at adobe.
> >
> > Thanks
> >
> >
> >
> > El dom, 3 ene 2021 a las 15:59, Harbs ()
> escribió:
> >
> >> There’s no license agreement when downloading playerglobal or the
> content
> >> debugger.
> >>
> >> I’m willing to take the risk to personally host these files if
> necessary.
> >>
> >>> On Jan 3, 2021, at 4:47 PM, Christofer Dutz  >
> >> wrote:
> >>>
> >>> And I doubt we would be allowed to simply upload Adobe stuff to any
> >> other server wirhout explicit conset from them. The license agreement
> you
> >> agreed to when downloading explicitly forbids that (at least it did,
> wenn
> >> we were working on the Flex Mavenizer and I doubt things changed)
> >>
> >>
> >
> > --
> > Carlos Rovira
> > Apache Member & Apache Royale PMC
> > *Apache Software Foundation*
> > http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Configuring source maps on Royale with new compiler options

2021-01-03 Thread Carlos Rovira
Hi Josh,

I have a little time now and want to try to set up sourcemaps on Royale by
default. For this to happen we need a solution that is general so it works
on local, for people using nightly builds, or a released SDK.

I want to try it locally and ask on list with a final working solution in
hand and see if Greg and others are ok with it.

I'm trying with this code in Jewel library:

  
-source-map=true;
-source-map-source-root=/frameworks/projects/Jewel/target/
  

And in TDJ this:

-source-map=true;
-source-map-source-root=/examples/jewel/TourDeJewel/target
  

But I'm not getting it to work when debug TDJ. So I'm a bit lost on this.
Can you propose the config so I can try it?

Thanks


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-03 Thread Carlos Rovira
Hi Harbs,

the problem here's that I think we are on Apache, and using a piece of
software that is under a clear license use will be against the foundation
rules. So although you or I can host the files, that's not seem to me like
a solution to the real problem.

I'm for go step by step and first try to talk with Adobe representatives to
get the permission for Apache to host the player files only for our flex
and royale use cases. I think we could continue discussion after we know
the solution to this request

Can you, Alex or others do this request? or if you want I can do it, but
need someone to provide me the contact at adobe.

Thanks



El dom, 3 ene 2021 a las 15:59, Harbs () escribió:

> There’s no license agreement when downloading playerglobal or the content
> debugger.
>
> I’m willing to take the risk to personally host these files if necessary.
>
> > On Jan 3, 2021, at 4:47 PM, Christofer Dutz 
> wrote:
> >
> > And I doubt we would be allowed to simply upload Adobe stuff to any
> other server wirhout explicit conset from them. The license agreement you
> agreed to when downloading explicitly forbids that (at least it did, wenn
> we were working on the Flex Mavenizer and I doubt things changed)
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: How to build from now on?

2021-01-03 Thread Carlos Rovira
Hi Chris,

just forked this thread to a Discuss thread since I think we all need to
find a clear action to do, and I think this will require a clear vote.

For now I recomend all people here to download all Flash Player thing while
the Adobe page you posted is still online, and also store the com/adobe
maven folder in .m2 to be able to use on its own, if they need to set up a
new machine.

Thanks!



El dom, 3 ene 2021 a las 11:21, Christofer Dutz ()
escribió:

> Hi all,
>
> in December I got my new Laptop and set it up. I forgot to get the Flash
> Debug player.
> Now I did manage to download the 32 bit version of the Content Debuger,
> but already some of the downloads on the download page:
> Adobe Flash Player - Debug Downloads<
> https://www.adobe.com/support/flashplayer/debug_downloads.html>
> Result in 404s
>
> Will the 32bit content debugger stay available? If not we will be cutting
> off new contributors. Cause building with the "with-flash" profile will not
> be possible.
>
> So I cloned Royale on my new machine and gave it a spin. Unfortunately I
> will not be able to build all parts from now on as I no longer have access
> to the playerglobal.
>
> [INFO] Couldn't find artifact:
> com.adobe.flash.framework:20.0:playerglobal:pom
> [INFO] ===
> [INFO]  - Installing Adobe Flash SDK 20.0
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/C:/Users/cdutz/.m2/repository/org/apache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0/flex-sdk-converter-maven-extension-1.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/C:/Users/cdutz/.m2/repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/C:/Users/cdutz/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/C:/Program%20Files/JetBrains/IntelliJ%20IDEA%202020.3/plugins/maven/lib/maven3/lib/maven-slf4j-provider-3.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
> Your System-Id: ddcb1466
> The Adobe SDK license agreement applies to the Adobe Flash Player
> playerglobal.swc. Do you want to install the Adobe Flash Player
> playerglobal.swc?
> (In a non-interactive build such as a CI server build, alternatively to
> typing y or yes you can also set a system property containing your system
> which is interpreted as equivalent to accepting by typing y or yes:
> -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=ddcb1466
> )
> Do you accept (Yes/No) ? yes
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> statusCode: 403
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> reasonPhrase: Forbidden
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> ===
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> Downloading
> http://fpdownload.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal20_0.swc
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> Expected size: 0KB
>0% [> ]
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> Finished downloading.
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> ===
> Skipping Flash runtime generation.
>
> I can probably salvage the com/adobe driectory in my maven local repo on
> my mac and use that ... but new contributors don't have this option.
>
> Would it be possible to make the playerglobal availalbe at some permanent
> place (Ideally deployed to maven central)? I know the license agreement it
> was under wouldn't allow this.
> But Adobe could probably just provice the swc and the pom-xml the
> mavenizer produced and simply have that deployed to maven central. If there
> is help needed with this, I would be happy to help.
>
> If this isn't possible I would suggest to discuss in the project making
> the Flash part of the project optional for releasing and validating.
>
> Chris
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


[Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?)

2021-01-03 Thread Carlos Rovira
; [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> Finished downloading.
> [main] INFO
> org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever -
> ===
> Skipping Flash runtime generation.
>
> I can probably salvage the com/adobe driectory in my maven local repo on
> my mac and use that ... but new contributors don't have this option.
>
> Would it be possible to make the playerglobal availalbe at some permanent
> place (Ideally deployed to maven central)? I know the license agreement it
> was under wouldn't allow this.
> But Adobe could probably just provice the swc and the pom-xml the
> mavenizer produced and simply have that deployed to maven central. If there
> is help needed with this, I would be happy to help.
>
> If this isn't possible I would suggest to discuss in the project making
> the Flash part of the project optional for releasing and validating.
>
> Chris
>
>

-- 

Carlos Rovira

Presidente Ejecutivo

M: +34 607 22 60 05

http://www.codeoscopic.com


Conócenos en 1 minuto! <https://avant2.es/#video>


AVISO LEGAL: La información contenida en este correo electrónico, y en su
caso en los documentos adjuntos, es información privilegiada para uso
exclusivo de la persona y/o personas a las que va dirigido. No está
permitido el acceso a este mensaje a cualquier otra persona distinta a los
indicados. Si Usted no es uno de los destinatarios, cualquier duplicación,
reproducción, distribución, así como cualquier uso de la información
contenida en él o cualquiera otra acción u omisión tomada en relación con
el mismo, está prohibida y puede ser ilegal. En dicho caso, por favor,
notifíquelo al remitente y proceda a la eliminación de este correo
electrónico, así como de sus adjuntos si los hubiere. En cumplimiento de la
legislación española vigente en materia de protección de datos de carácter
personal y del RGPD 679/2016 le informamos que sus datos están siendo
objeto de tratamiento por parte de CODEOSCOPIC S.A. con CIF A85677342, con
la finalidad del mantenimiento y gestión de relaciones comerciales y
administrativas. La base jurídica del tratamiento es el interés legítimo de
la empresa. No se prevén cesiones de sus datos, salvo que exista una
obligación legal. Para ejercitar sus derechos puede dirigirse a CODEOSCOPIC
S.A., domiciliada en Paseo de la Habana, 9-11, 28036 de Madrid (MADRID), o
bien por email a d...@codeoscopic.com, con el fin de ejercer sus derechos de
acceso, rectificación, supresión (derecho al olvido), limitación de
tratamiento, portabilidad de los datos, oposición, y a no ser objeto de
decisiones automatizadas, indicando como Asunto: “Derechos Ley Protección
de Datos”, y adjuntando fotocopia de su DNI. Delegado de protección de
datos: d...@codeoscopic.com


Re: maven framework builds not using current compiler build

2021-01-02 Thread Carlos Rovira
Hi Greg,

I think this is due to @Harbs  release that was put on
hold for some issues. Don't know what's the state, so better he should
decide what to do

El vie, 1 ene 2021 a las 22:16, Greg Dove () escribió:

> Just a quick note to highlight that I believe the maven builds for
> framework are currently using the
>
> 0.9.8-SNAPSHOT
>
> but the current build of the compiler is installed as:
>
> 0.9.9-SNAPSHOT
>
> I think this means that nightly builds are probably different for ant vs.
> maven.
>
> Fixing this may be as simple as setting the top level framework pom to
>
>   0.9.9-SNAPSHOT
>
> But I wanted to first check that this was not intentional for some reason I
> don't understand...
>
> Thanks,
> Greg
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: XMLJS.test RoyaleUnit Release build tests: FAILED

2021-01-01 Thread Carlos Rovira
Hi Edward,

sorry to say that I'm not familiar with the XML and the Royale test suit.
It's clear looking at you PRs that you know much more than me about it. If
you don't have clear how to operate, I hope others can assist here to know
what is better.

Thanks for your contributions! :)



El vie, 1 ene 2021 a las 13:26, Edward Stangler ()
escribió:

>
> Looks like you're getting a problem in the XML.getQName() changes.  The
> localName values (from the XML in the tests) are getting errors like
> "Cannot read property 'size' of undefined".
>
> Looking at the JS code of release vs debug, it appears that the compiler
> is not initializing these static variables in release mode (they only
> get initialized in a function that is meant to clear the cache):
>
> static private var _nameMap:Object = Object.create(null);
> static private var _attrNameMap:Object = Object.create(null);
>
> It apparently did work before because it used to be:
>
> static private var _nameMap:Object = {};
>
> royale-compiler issue #167 seems to be a similar issue.
>
> Should I code a workaround, or is there a compiler fix?
>
> BTW, I had absolutely no idea that there are release-mode and debug-mode
> test runs.  (It apparently executes the debug-mode one after
> release-mode fails.)
>
> Would be really nice if their outputs would go to separate directories
> (release-mode test outputs get clobbered by the debug-mode ones).
>
> I just saw the debug-mode test output and, looking at the "out"
> subdirectory, assumed it was the only run.  Sorry about that!
>
>
> On 1/1/2021 5:07 AM, Carlos Rovira wrote:
> > Hi,
> >
> > just run ANT build and failed for RELEASE (DEBUG passed):
> >
> > BUILD FAILED
> >
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:667: The
> > following error occurred while executing this line:
> >
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/build.xml:134:
> > The following error occurred while executing this line:
> >
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/build.xml:487:
> > The following error occurred while executing this line:
> >
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/XML/build.xml:69:
> > The following error occurred while executing this line:
> >
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/XML/build.xml:73:
> > The following error occurred while executing this line:
> >
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/js/projects/XMLJS/build.xml:54:
> > The following error occurred while executing this line:
> >
> >
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/js/projects/XMLJS/src/test/royale/build.xml:238:
> > Test Failure
> >
> > RoyaleUnit Release Build Tests must pass:
> >
> >
> >
> > XMLJS.test RoyaleUnit Release build tests: FAILED
> >
> > XMLJS.test RoyaleUnit Debug build tests: PASSED
> >
> >
> > Total time: 5 minutes 35 seconds
> >
> > Error:Build stopped - build SDK with ANT
> >
>
>

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


XMLJS.test RoyaleUnit Release build tests: FAILED

2021-01-01 Thread Carlos Rovira
Hi,

just run ANT build and failed for RELEASE (DEBUG passed):

BUILD FAILED

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/build.xml:667: The
following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/build.xml:134:
The following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/build.xml:487:
The following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/XML/build.xml:69:
The following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/XML/build.xml:73:
The following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/js/projects/XMLJS/build.xml:54:
The following error occurred while executing this line:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/js/projects/XMLJS/src/test/royale/build.xml:238:
Test Failure

RoyaleUnit Release Build Tests must pass:



XMLJS.test RoyaleUnit Release build tests: FAILED

XMLJS.test RoyaleUnit Debug build tests: PASSED


Total time: 5 minutes 35 seconds

Error:Build stopped - build SDK with ANT

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Happy New Year 2021!

2020-12-31 Thread Carlos Rovira
Hi all!

just want to wish you a happy new year!!

https://twitter.com/ApacheRoyale/status/1344688339832725504

See you next year!! :D

-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira


Re: [Discuss] ArraySelectionModel sorting

2020-12-21 Thread Carlos Rovira
Hi @Harbs,

about this problem. I got the time to go over it with some kind of success,
but was very time consuming.

The main problem is that Jewel ArraySelectionModel (and the rest of Basic
models) since all have this check:

public function set dataProvider(value:Object):void
{
if (value == _dataProvider) return;

when we update some info in one of the collection objects, this prevents
the collection to be refreshed.

I solved the notification problem we talked in this thread making
DataGridSort extends EasyDataProviderChangeNotifier as you suggested.
So, now collection.refresh() is working right and the code seems more
compliant with the rest of royale instead of the "sortChanged" I was using.
So we use COLLECTION_CHANGE (from collection.refresh()).

I also updated the notifier to use interfaces since our example uses
ArrayListView instead of ArrayList.

All collections I checked, including Basic and Jewel, had the previous
check. I solved creating in Jewel a method without the check:

public function setDataProvider__NoCheck(value:Object):void
{

that method is the same but with no "if (value == _dataProvider) return;"

So my question is: Do you think there's a better solution for this?

I committed an example with this working in the actual state in Tour De
Jewel in the following commit:

tour-de-jewel: add update example to datagrid from collection. check that
sorting columns refresh the grid.
Commit:ee70b51bcbfb53e7cd2e4bfacc3e7bf8897e8bc5 [ee70b51bc]Parents:
8835228669




Can you take a look to see if there's a better way to solve this?

Thanks in advance.

Carlos


El jue, 24 sept 2020 a las 23:23, Harbs () escribió:

> The data provider notifier listens to collectionChanged. There should be
> no need for additional sort-specific events.
>
> Look at DataProviderChangeNotifier.
>
> If you can’t figure it out, I can help you on Tuesday. I’m not available
> until then.
>
> > On Sep 24, 2020, at 11:30 PM, Carlos Rovira 
> wrote:
> >
> > Hi Harbs,
> >
> > I think we are not listening for the "collectionChanged" event in
> DataGrid
> > beads (DataGridView).
> > Maybe I could add it (the same as I did with "sortedChanged", also the
> > other event could be a better name since it is more global and we can use
> > for filtering, and more).
> > But in doing that, I think I would need to still have a similar change to
> > ArraySelectionModel where we have a method that doesn't check if the
> > dataProvider is the same, since it will be in fact the same, but we need
> to
> > trigger the view refresh to show the sorting
> >
> > Hope I was able to explain it right.
> >
> > If you have time, you can revert my commit locally and try to do what you
> > have in mind and if that works commit the revert and the change. If not
> > I'll try it as I have time. I have many things on my plate now and also
> to
> > ApacheCon talks to prepare.
> >
> > thanks
> >
> >
> >
> > El jue., 24 sept. 2020 a las 18:42, Harbs ()
> > escribió:
> >
> >> There must be something more subtle here.
> >>
> >> Without looking into your issue too deeply, I think the problem is that
> >> you’re not actually triggering an event.
> >>
> >> The dataProvider setter in ArraySelectionModel will not actually do
> >> anything unless you’re really changing the dataProvider.
> >>
> >> The solution would be to trigger a collectionChanged event in your
> >> collection when the array is sorted. You can do that by either setting
> >> collection.source = collection.source.slice() or a better solution (IMO)
> >> would be to simply: collection.dispatchEvent(new
> >> Event(“collectionChanged”));
> >>
> >> HTH,
> >> Harbs
> >>
> >>> On Sep 24, 2020, at 6:23 PM, Carlos Rovira 
> >> wrote:
> >>>
> >>> Hi Harbs,
> >>>
> >>> I reverted locally my changes and tried this:
> >>>
> >>>  >>> dataProvider="{new ArrayListView(productModel.productList)}"
> >>> change="lb2.html = describeItem(event.target.selectedItem)">
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> 
> >>>
> >>>
> >>> In DataGridSort I changed final lines to this:
> >>>
> >>> // This way we can't refresh the columns since the dataProvider is the
> >> same
> >>> dg.model.dispatchEvent(new Event("dataProviderChanged"));
> >

  1   2   3   4   5   6   7   8   9   10   >