Skip to content
This repository has been 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
dsyer opened this issue Jun 5, 2020 · 2 comments
Closed

Help webjars locator to find assets in /META-INF/resources/webjars #157

dsyer opened this issue Jun 5, 2020 · 2 comments
Labels
for: external-project For an external project and not something we can fix type: compatibility Native image compatibility issue

Comments

@dsyer
Copy link
Contributor

dsyer commented Jun 5, 2020

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.)

@sdeleuze sdeleuze added this to the v0.8.0 milestone Jun 5, 2020
@sdeleuze sdeleuze modified the milestones: v0.8.0, v0.9.0 Jul 21, 2020
@sdeleuze
Copy link
Contributor

We could maybe use a similar build time transformation than the one described in #374.

@sdeleuze sdeleuze added the type: compatibility Native image compatibility issue label Jan 8, 2021
@sdeleuze sdeleuze modified the milestones: 0.9.0, 0.9.1 Jan 26, 2021
@sdeleuze sdeleuze modified the milestones: 0.9.1, 0.9.2 Feb 26, 2021
@sdeleuze sdeleuze modified the milestones: 0.11.0, Backlog Jun 8, 2021
@sdeleuze sdeleuze added the for: external-project For an external project and not something we can fix label Jan 2, 2023
@sdeleuze
Copy link
Contributor

sdeleuze commented Jan 2, 2023

@sdeleuze sdeleuze closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2023
@sdeleuze sdeleuze removed this from the Backlog milestone Jan 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
for: external-project For an external project and not something we can fix type: compatibility Native image compatibility issue
Development

No branches or pull requests

2 participants