Re: Release compilation does not work: maven modules and crux

2021-12-30 Thread Greg Dove
Maria: "I don't use modules like Roman, I use Maven modules and, like you, I have a hierarchy of pom's" Ok, so there is perhaps a difference of vocabulary here, and the issue for you is quite unrelated to the issue that Roman has. Maven 'modules' in this case represent different compilation

RE: Release compilation does not work: maven modules and crux

2021-12-30 Thread Maria Jose Esteve
On December 9, 2020 I compiled a release version that worked. It had much less code but the structure and mvc implementations using crux was the same. I will do a first test with SDK 0.9.9 and the code at that time and if it gives error I will compile the SDK to that date. Hiedra De: Maria

Release compilation does not work: maven modules and crux

2021-12-30 Thread Maria Jose Esteve
Hi Greg, yes. I did a production deployment over 6 months ago and it worked. I had in mind to look for "that point" in the repository and maybe it's already time... I don't usually give up, but I lack the knowledge to solve this, I'm bugging and bugging Harb and I've done 100 tests without

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Greg Dove
Sorry I have not been following these threads in detail because I have been (and am currently still) on vacation. AFAIK royale modules are not reliable in release mode. I don't know anyone who has had experience otherwise. I did try testing them some time ago and that was my experience, and I

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Roman Isitua
Yes. On Thu, 30 Dec 2021, 23:03 Harbs, wrote: > Did you apply the input_file options to the module? > > On Dec 30, 2021, at 11:42 PM, Roman Isitua wrote: > > > I have applied the js compiler option as follows > > >

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
Did you apply the input_file options to the module? > On Dec 30, 2021, at 11:42 PM, Roman Isitua wrote: > > > I have applied the js compiler option as follows > > -source-map=false;-compiler.show-binding-warnings=false;-js-default-initializers=true;-js-dynamic-access-unknown-members=true; >

RE: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Maria Jose Esteve
No Harb, we have in common the Maven compilation and the use of Maven modules. But I take this opportunity to show you a "curious" test, look at the error displayed in the Debug Console... (The sdk compiled from develop the error references the js-debug folder, even though it is running from

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
Wait. I’m confused. Does your app work? I’m assuming that your app is not the same as Roman’s. > On Dec 30, 2021, at 8:07 PM, Maria Jose Esteve wrote: > > I was preparing an email with a battery of tests but I don't use any > configuration or property files... maybe I'd better stop and read

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
I’d try removing these: -export-public-symbols=false;-prevent-rename-protected-symbols=false;-prevent-rename-public-symbols=false;-prevent-rename-internal-symbols=false; https://apache.github.io/royale-docs/create-an-application/optimizations/minification#smallest-size > On Dec 30, 2021, at

RE: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Maria Jose Esteve
I was preparing an email with a battery of tests but I don't use any configuration or property files... maybe I'd better stop and read it to you. Hiedra De: Harbs Enviado el: jueves, 30 de diciembre de 2021 18:56 Para: users@royale.apache.org Asunto: Re: Compiling Modules (was Re: Load time is

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Roman Isitua
Kindly clarify what you mean by "no 1. Get rid of aggressive mimification options " ? Which of the options are aggressive ? I will apply no 2 and revert with my findings. On Thu, 30 Dec 2021, 18:56 Harbs, wrote: > 1. I’d get rid of the agressive minification options. It will likely cause >

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
1. I’d get rid of the agressive minification options. It will likely cause issues. If you get it to work without those options, you can try to add them back in and see if it still works. 2. You seem to be missing the compiler options explained here:

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Roman Isitua
I think it will be better for me to share my pom's that way you can see all the compilation options used. The pom for the parent (FmClient2), the MainApp and one module (Overview) have been attached to this email. On Thu, Dec 30, 2021 at 6:22 PM Harbs wrote: > Roman, can you share your full

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
Roman, can you share your full compiler options? > I decided to remove the below settings completely > -export-public-symbols=false > -prevent-rename-protected-symbols=false > -prevent-rename-public-symbols=false > -prevent-rename-internal-symbols=false > > > I enabled the below settings > >

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Roman Isitua
Hi Harb, Thanks for your response. I have gone through the documentation. I will do my test again starting with the smallest size option and share my findings. Regards, On Thu, Dec 30, 2021 at 10:59 AM Harbs wrote: > Sorry for my deal in responding. > > Let’s take a step back. > > I’m not

Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
Sorry for my deal in responding. Let’s take a step back. I’m not sure how you are compiling your modules. I just added some content to the module documentation page which explains what compiler options you need while compiling modules. (It still needs some editing.)