spring-boot-jar-resources
spring-boot-jar-resources copied to clipboard
Incorrect handling of same filename in different resources/directories
Hi! Thanks for your work on this library, but I found that in situation with same filename in two different resources subfolders one of these files being cached in temporary storage root location and other file is never accessed.
For example: spring boot static directory contains:
src/main/resources/static/old_frontend/index.html
src/main/resources/static/new_frontend/index.html
the output given is
2019-04-12 10:14:32.588 INFO 7 --- [nio-8080-exec-1] c.g.u.jar.resources.JarUtils : TEMP FILE CREATED /tmp/1555064045058-0/index.html
for first file and then second file from /new_frontend is never returned.
Am I wrong and this case may be configured, or its a bug?