Subject is quite clear, but let me make it adamant.
Bootstrap 3 integrate some fonts that are served under the /fonts/...
path. Unfortunatly, as AssetController doesn't, by default, map this
path, they can't be downloaded, as can show my Firefox console
downloadable font: download failed (font-family: "Glyphicons Halflings"
style:normal weight:normal stretch:normal src index:1):
status=
2147746065 source:
https://localhost:9001/fonts/glyphicons-halflings-regular.woff2admdt.css:249:12
downloadable font: download failed (font-family: "Glyphicons Halflings"
style:normal weight:normal stretch:normal src index:2):
status=
2147746065 source:
https://localhost:9001/fonts/glyphicons-halflings-regular.woffadmdt.css:249:12
downloadable font: download failed (font-family: "Glyphicons Halflings"
style:normal weight:normal stretch:normal src index:3):
status=
2147746065 source:
https://localhost:9001/fonts/glyphicons-halflings-regular.ttf
These fonts come from the Bootstrap webjar :
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>3.3.7-1</version>
<exclusions>
<exclusion>
<artifactId>jquery</artifactId>
<groupId>org.webjars</groupId>
</exclusion>
</exclusions>
</dependency>
I guess there is a way to configure the AssetController, but its
documentation is ... sparse :-)
By reading its source, I guess I could create an AssetController
component, using iPOJO ?
But I've already tried that approach, and it failed. So, what is the
best way to have an asset controller serve my fonts path ?