Dec 1st, 2009, 11:24 AM
JarIndex resource loading
I'm developing a remote Java client application using a main jar file indexed according to SUN jar file specifications (http://java.sun.com/javase/6/docs/te...ml#JAR%20Index)
However there is a problem while trying to resolve pattern based resources. In fact, PathMatchingResourcePatternResolver just returns one single resource instead of getting all matching resources. Debugging, I have found that calling JNLPClassLoader#getResources("org/myorganization") returns only the first available jar.
Thanks in advance!!
Last edited by julio.arguello; Dec 2nd, 2009 at 11:49 AM.
Dec 2nd, 2009, 06:35 AM
This seems to be the same problem as the one related at http://jira.springframework.org/browse/SPR-5705
This is a real problem when using Java Web Start as deployment model and indexed jars to enhace installation and update processes.
Last edited by julio.arguello; Dec 2nd, 2009 at 06:39 AM.