-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Yanming Zhou opened SPR-10425 and commented
<context:component-scan base-package="${APP_BASE_PACKAGE}"/>
<!--APP_BASE_PACKAGE=com.test1,com.test2 -->
it doesn't works
must be
<context:component-scan base-package="${APP_BASE_PACKAGE1},${APP_BASE_PACKAGE2}"/>
<!--
APP_BASE_PACKAGE1=com.test1
APP_BASE_PACKAGE2=com.test2
-->
it's not friendly for variable packages
https://jira.springsource.org/browse/SPR-4351
https://jira.springsource.org/browse/SPR-10424
Reference URL: https://jira.springframework.org/browse/SPR-4351
Issue Links:
- Placeholders in context:component-scan's base-package attribute [SPR-4351] #9030 Placeholders in context:component-scan's base-package attribute
- make context:exclude-filter expression supports placeholder like context:component-scan base-package [SPR-10424] #15057 make context:exclude-filter expression supports placeholder like context:component-scan base-package
- Consistent Environment access in XML bean definition parsing code [SPR-12248] #16862 Consistent Environment access in XML bean definition parsing code
1 votes, 2 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement