Skip to content

Support ignoreResourceNotFound as attribute of util:properties [SPR-10614] #15242

@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits 662d8aa

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions