Skip to content

please let context:component-scan base-package eval placeholder then split by comma [SPR-10425] #15058

@spring-projects-issues

Description

@spring-projects-issues

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:

1 votes, 2 watchers

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