Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

spring xml files and import xml files circular dependencies

It seems that you can do this in spring

file A.xml imports B.xml
file B.xml imports C.xml
file C.xml imports A.xml or B.xml

This is really killing our project as the dependencies between the xml files are messed up and when you only want to pull in one file it tends to pull in all this other junk. Is there any way in spring to prevent this circular dependency stuff so it blows up on startup?

thanks, Dean

like image 595
Dean Hiller Avatar asked Nov 04 '22 23:11

Dean Hiller


1 Answers

Looks like something similar was flagged many years ago but has not yet been implemented: SPR-1142.

like image 141
AtomHeartFather Avatar answered Nov 15 '22 07:11

AtomHeartFather