I am looking for example recommendation from experts.
Our installbuilder xml file has around 1000 lines of code just for variables (mainly string parameters). Some variable values are static, some are loaded from environment variable during compile time. Some are set to be installer variable to be used by uninstaller.
I have gone through the article on set and load variable from .ini and .properties in the article . The example does not have sample .ini file and .properties, .yml files.
My question is what is the best approach to deal with variable when you are dealing with large number of variables. Should I use .ini file or xml or .properties or .ini files? I prefer to be a file type easier to maintain/dynamically update outisde bitrock environment.
My expectation is I will maintain all the variables used in our installer generation in to some file, load/include it in bitrock xml, all variable will be ready to be used by bitrock. Currently we set some environment variable, some are passed through --servar and some are hard coded in bitrock xml..
Let me know if my understanding and expectation makes any sense to you guys.
Please sign in to leave a comment.