-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning processAn outdated, unresolved issue that's closed in bulk as part of a cleaning processtype: enhancementA general enhancementA general enhancement
Description
Martin Zeltner opened SPR-1142 and commented
Example:
file1.xml:
<beans>
<import resource="classpath:common/common-config.xml"/>
...
</beans>
file2.xml:
<beans>
<import resource="classpath:common/common-config.xml"/>
...
</beans>
If I load now an application context which has "file1.xml" and "file2.xml" as config locations, the file "common-config.xml" will be loaded twice. I suggest to remember the url of already loaded config files.
Thanks,
Martin
Affects: 1.2.1
Attachments:
Issue Links:
- Ignore duplicated import files or property-placeholder files [SPR-9526] #14160 Ignore duplicated import files or property-placeholder files
- When a bean definition is overridden, detect whether the definition has changed and log accordingly [SPR-7607] #12263 When a bean definition is overridden, detect whether the definition has changed and log accordingly
67 votes, 52 watchers
Metadata
Metadata
Assignees
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning processAn outdated, unresolved issue that's closed in bulk as part of a cleaning processtype: enhancementA general enhancementA general enhancement