I've never worked on a project with Royale modules, so I can't help a ton with this. However, I can say that these files are used by Google Closure Compiler. We use Closure Compiler to minify the JavaScript output for release builds. Part of the minification process is renaming variables and properties with shorter names. I believe that these files ensure that variable/property renaming is consistent among both the main app and the modules.
Since you're just getting started with Royale, I would recommend looking into modules later, once you are more familiar with everything. You can definitely create an app that contains several screens without dividing it into modules, and it shouldn't be particularly difficult to convert it to modules in the future. However, for someone new to Royale, I think that it adds unnecessary complexity that will make it more challenging to learn the basics. -- Josh Tynjala Bowler Hat LLC https://bowlerhat.dev/ On Tue, Mar 25, 2025 at 8:54 AM Jim McNamara <jmcnamara10...@proton.me> wrote: > > Hi, > i am very excited to learn about modules. > I get some of it but need help with this one topic. > > > https://github.com/apache/royale-asjs/tree/develop/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules > > In the 2 config files one for main and one for module what are the config > file names for e.g. > > Question 2 - what is the purpose of gccvars.txt and gccprops.txt and > modgccvars and modgccprops > > I saw the layout here and I get that but I need to get the piece below... > thanks for any additional help you can render this support comes from the > following page... > > https://apache.github.io/royale-docs/features/modules > > I am definitely interested in modules because i will have several screens > on my upcoming app at least i hope i will. thanks j. > > <royale-config> > <js-compiler-option> > <option>--variable_map_output_file gccvars.txt</option> > <option>--property_map_output_file gccprops.txt</option> > </js-compiler-option> > </royale-config> > > Here’s the config for the module: > > <royale-config> > <js-compiler-option> > <option>--variable_map_input_file > ../../../MainApp/bin/js-release/gccvars.txt</option> > <option>--property_map_input_file > ../../../MainApp/bin/js-release/gccprops.txt</option> > <option>--variable_map_output_file modgccvars.txt</option> > <option>--property_map_output_file modgccprops.txt</option> > </js-compiler-option> > </royale-config> > > > > > Sent with Proton Mail secure email. >