I have a this war structure:
Some.war
-WEB-INF
–lib
—library.jar
—-some.xsd
—-some2.xsd
And i want to get all xsd files in library.jar, but spring don’t want to search it.
ContextLoaderListener.getCurrentWebApplicationContext()
.getResources("classpath*:**/*.xsd")
result is empty. I also tried: classpath:**/*.xsd, **/*.xsd.
How i can get all xsd files in jar using “ant” template (*/.xsd)?
The answer lies in the Spring docs: