XML import should support patterns for relative paths as well [SPR-5015] #9690
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Swisslog Developers opened SPR-5015 and commented
When using <import resource="mySpringFolder/anotherSpring-cfg.xml"/> in a bean definition file, one should be able to use a pattern(most likely ant) to import multiple files with just one line.
Like this to import all config files in a folder:
<import resource="mySpringFolder/*-cfg.xml"/>
At the moment spring tells me a
Caused by: java.io.FileNotFoundException: D:\eclipse\tomcat\webapps\myApp\WEB-INF\classes\mySpringFolder*-cfg.xml
This would make configuration of imports easier and also maintaining those import files.
Affects: 2.5.4
Issue Links:
@Configuration
classesThe text was updated successfully, but these errors were encountered: