spring-boot-jar-resources icon indicating copy to clipboard operation
spring-boot-jar-resources copied to clipboard

Incorrect handling of same filename in different resources/directories

Open kpmy opened this issue 6 years ago • 0 comments

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?

kpmy avatar Apr 12 '19 12:04 kpmy