This content has been marked as final. Show 4 replies
You can use this property file to share configurations/variables across multiple components .
As per Oracle Docs "A global properties file can set the same property in multiple components. The property settings in a GLOBAL.properties file apply to all components in the file’s configuration directory and subdirectories".
eg : you can loggingDebug=true for all components at a single place.
GLOBAL.properties can be used to set same property in multiple components. E.g. if we have <ATG>\home\localconfig\GLOBAL.properties with these properties:
Then it will enable all the logging for all components. In case a property is also declared in a component's own configuration then that will take precedence. E.g. with the same GLOBAL.properties as above if we have a component MyComp in MyModule (<ATG>\MyModule\config\my-comp-path\MyComp.properties) having the configuration as:
Now MyComp will have only loggingInfo enabled.
You can also use += and -= in MyComp configuration to respectively append and remove any property values set in GLOBAL.properties. E.g. if GLOBAL.properties has property as
and in MyComp configuration you make it as
then MyComp will have myList values as A,B,C,D