When adding a list of values to a property in a properties file, use the += appending operator. This operator is commonly used in localconfig/atg/dynamo/Initial.properties to specify the components to create at startup time. For example:


The += operator specifies that you want to append /StartComps/services/comp1 to the value of initial services set elsewhere in the configuration path, rather than replace the value.

Similarly, you can use the -= operator to remove an item from a value list. This allows you to avoid redeclaring a list when you only want to remove one member. Note that in order for values to be removed, they must match exactly; if you specify 2.0 for removal, 2.00 is not removed. If the item to be removed is not found, no errors are generated.

loading table of contents...