This repository was archived by the owner on Feb 23, 2023. It is now read-only.
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Help webjars locator to find assets in /META-INF/resources/webjars #157
Closed as not planned
Description
The webjars locator is really nice, and is configured automatically in Spring Boot, but it doesn't work in a native image because there is no directory traversal on the classpath (same problem with @ComponentScan
). Maybe we can fix this in a similar way to @ComponentScan
- the paths it scans are well defined and easy to discover. If we scan them at build time we can probably use a substitution at runtime to pick the right location, instead of trying to scan and failing. (See also oracle/graal#1108.)