RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
Model" > > is inside the library in the module "royaleconfigsystem") that are > > compiled with these options: > > > > > > -js-default-initializers=true; > > -source-map=true; > > > > -source

Re: Differences between bebug and release

2021-12-14 Thread Greg Dove
ith these options: > > > > > > -js-default-initializers=true; > > -source-map=true; > > -source-map-source-root=${project.basedir}/src/main/royale/; > > > > > > I don't identify any problematic options how do y

Re: Differences between bebug and release

2021-12-14 Thread Josh Tynjala
om's of the SDK examples, compile and test in realease mode. > Thank you very much Harb. I'll keep posting my progress in case it can > help someone else. > > Hiedra > > -Mensaje original- > De: Harbs > Enviado el: martes, 14 de diciembre de 2021 14:05 > Para:

Re: Differences between bebug and release

2021-12-14 Thread Harbs
DK examples, compile and test in realease mode. > Thank you very much Harb. I'll keep posting my progress in case it can help > someone else. > > Hiedra > > -Mensaje original- > De: Harbs > Enviado el: martes, 14 de diciembre de 2021 14:05 > P

RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
p posting my progress in case it can help someone else. Hiedra -Mensaje original- De: Harbs Enviado el: martes, 14 de diciembre de 2021 14:05 Para: dev@royale.apache.org Asunto: Re: Differences between bebug and release My guess is you are using Crux. Correct? As I understand it C

Re: Differences between bebug and release

2021-12-14 Thread Harbs
exion artifact and I have it specified in the pom :P > where can I find this information? > I will change everything that needs to be changed... > > Hiedra > > -Mensaje original- > De: Harbs > Enviado el: martes, 14 de diciembre de 2021 12:24 > Para: dev@royale.apach

RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
v@royale.apache.org Asunto: Re: Differences between bebug and release We really need a documentation page which explains the minification options and its effects. In your specific case, you are using Reflection. Reflection relies on the public names in classes, This means that you can’t rename th

Re: Differences between bebug and release

2021-12-14 Thread Harbs
no idea where to go from here... > > Hiedra. > > -Mensaje original- > De: Harbs > Enviado el: martes, 14 de diciembre de 2021 11:20 > Para: Apache Royale Development > Asunto: Re: Differences between bebug and release > > Actually, you can probably keep -export-publ

RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
ld bother you a lot less... excuse me, but I have no idea where to go from here... Hiedra. -Mensaje original- De: Harbs Enviado el: martes, 14 de diciembre de 2021 11:20 Para: Apache Royale Development Asunto: Re: Differences between bebug and release Actually, you can probably keep

RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
Differences between bebug and release The option -js-dynamic-access-unknown-members=true I have it, I will check the rest you tell me Thx. Hiedra -Mensaje original- De: Greg Dove Enviado el: martes, 14 de diciembre de 2021 9:36 Para: Apache Royale Development Asunto: Re: Diff

Re: Differences between bebug and release

2021-12-14 Thread Harbs
There’s a good chance it’s related to this: https://github.com/apache/royale-compiler/issues/203 > On Dec 14, 2021, at 12:12 PM, Maria Jose Esteve wrote: > > I am modifying the recovery, as suggested by Greg (via xmlData['xxx'] instead > of xmlData.child('') and this seems to fix it BUT I

Re: Differences between bebug and release

2021-12-14 Thread Harbs
bebug and release >> >> What is the full list of compiler options you are using? >> >>> On Dec 14, 2021, at 10:46 AM, Maria Jose Esteve wrote: >>> >>> The option -js-dynamic-access-unknown-members=true I have it, I will check >>> the rest you tell me >&g

Re: Differences between bebug and release

2021-12-14 Thread Harbs
---Mensaje original- > De: Harbs > Enviado el: martes, 14 de diciembre de 2021 10:54 > Para: dev@royale.apache.org > Asunto: Re: Differences between bebug and release > > What is the full list of compiler options you are using? > >> On Dec 14, 2021, at 10:46 AM, Ma

RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
54 Para: dev@royale.apache.org Asunto: Re: Differences between bebug and release What is the full list of compiler options you are using? > On Dec 14, 2021, at 10:46 AM, Maria Jose Esteve wrote: > > The option -js-dynamic-access-unknown-members=true I have it, I will check > t

Re: Differences between bebug and release

2021-12-14 Thread Harbs
original- > De: Greg Dove > Enviado el: martes, 14 de diciembre de 2021 9:36 > Para: Apache Royale Development > Asunto: Re: Differences between bebug and release > > It's not obvious when you encounter these issues. > > I would probably try: > > new XML

RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
The option -js-dynamic-access-unknown-members=true I have it, I will check the rest you tell me Thx. Hiedra -Mensaje original- De: Greg Dove Enviado el: martes, 14 de diciembre de 2021 9:36 Para: Apache Royale Development Asunto: Re: Differences between bebug and release It&#

Re: Differences between bebug and release

2021-12-14 Thread Greg Dove
--Mensaje original----- > De: Greg Dove > Enviado el: martes, 14 de diciembre de 2021 2:05 > Para: Apache Royale Development > Asunto: Re: Differences between bebug and release > > Hi Maria, > > Do you use any XML in your app? > > And/or what code is line 40 in your App.m

RE: Differences between bebug and release

2021-12-14 Thread Maria Jose Esteve
hen running the release version. Could you explain a bit more? Maybe for you it's obvious but I don't see it :P Thx. Hiedra -Mensaje original- De: Greg Dove Enviado el: martes, 14 de diciembre de 2021 2:05 Para: Apache Royale Development Asunto: Re: Differences between bebug a

Re: Differences between bebug and release

2021-12-13 Thread Greg Dove
nifying? > > > > I can tell this is all hyper-mega-new to me? 😝 > > > > Hiedra > > > > -Mensaje original- > De: Harbs > Enviado el: viernes, 10 de diciembre de 2021 14:05 > Para: dev@royale.apache.org > Asunto: Re: Differences between bebug and rel

Re: Differences between bebug and release

2021-12-13 Thread Hugo Ferreira
Seems that: -js-dynamic-access-unknown-members=true fixed the issue of "losing" parts of the code in release mode. Harbs escreveu no dia sexta, 10/12/2021 à(s) 13:05: > You can try setting -js-dynamic-access-unknown-members=true although > normally it shouldn’t be necessary with the current defa

RE: Differences between bebug and release

2021-12-10 Thread Maria Jose Esteve
ying? I can tell this is all hyper-mega-new to me? 😝 Hiedra -Mensaje original- De: Harbs Enviado el: viernes, 10 de diciembre de 2021 14:05 Para: dev@royale.apache.org Asunto: Re: Differences between bebug and release You can try setting -js-dynamic-access-unknown-members=tru

Re: Differences between bebug and release

2021-12-10 Thread Harbs
You can try setting -js-dynamic-access-unknown-members=true although normally it shouldn’t be necessary with the current defaults. https://apache.github.io/royale-docs/compiler/compiler-options.html#js-dynamic-access-unknown-members > On Dec 10, 2021, at 2:43 PM, Hugo Ferreira wrote: > > I onl

Re: Differences between bebug and release

2021-12-10 Thread Hugo Ferreira
I only see an error in console that does not seems related: telemetryproxy.html:1 Failed to load resource: the server responded with a status of 404 () What's the option to build in release without minify to check if that is really the case? Harbs escreveu no dia sexta, 10/12/2021 à(s) 09:08:

Re: Differences between bebug and release

2021-12-10 Thread Harbs
I meant in your browser. Is there an error in the browser console? > On Dec 10, 2021, at 3:17 AM, Hugo Ferreira wrote: > > Hi, > > This is the full log from my dev tool (Visual Studio Code): > >> Executing task: /usr/bin/java -jar > /Users/hugo/.vscode/extensions/bowlerhatllc.vscode-as3mxml-1.

Re: Differences between bebug and release

2021-12-09 Thread Hugo Ferreira
Hi, This is the full log from my dev tool (Visual Studio Code): > Executing task: /usr/bin/java -jar /Users/hugo/.vscode/extensions/bowlerhatllc.vscode-as3mxml-1.10.0/bin/asconfigc.jar --sdk /Volumes/Data/SDK/apache-royale-src/apache-royale --debug=false --project /Volumes/Data/CloudDrive/Project

Re: Differences between bebug and release

2021-12-08 Thread Harbs
Differences in release mode is generally because of renaming when minifying. Do you get an error in the dev tools? Make sure you’re using typedefs correctly for external APIs. Harbs > On Dec 9, 2021, at 1:52 AM, Hugo Ferreira wrote: > > Hi, > > I just finished my first Royale Add-In applicat

Differences between bebug and release

2021-12-08 Thread Hugo Ferreira
Hi, I just finished my first Royale Add-In application that was tested only in debug mode. Now I compiled in release mode and when I was testing I saw that custom item renderers did not appear. Probably this is not merged to the App.js single file ?