-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Description
Edward Ost opened SPR-10614 and commented
util:properties is the easiest way of creating property resources, but it needs the flexibility of the ignoreResourceNotFound in some cases.
This can happen when composing property sources into a PropertiesFactoryBean. The locations property of the PropertiesFactoryBean is fine if all properties are specified as file or classpath resources. But it does not support properties defined in xml. The propertiesArray attribute of PropertiesFactoryBean gets around this, and it would be nice to be able to mix util:properties for classpath and file resources with ref elements for other xml property beans. But the util:properties don't allow optional resources.
Affects: 3.0.7
Issue Links:
- Regression: <util:properties> location attribute does not resolve parameters in #{param} format [SPR-12391] #16999 Regression: util:properties location attribute does not resolve parameters in #{param} format
Referenced from: commits 662d8aa