I'm running into a curious issue and wondered if anyone has any idea what
else I can look into for a solution.
In wicket 1.4.21 (legacy app), I'm attempting to switch to font awesome for
icons in twitter bootstrap.
I've added the following patterns to the resource guard
guard.addPattern("+*.svg");
guard.addPattern("+*.ttf");
guard.addPattern("+*.eot");
guard.addPattern("+*.woff");
The css file is served as a CSSPackageResource and gets loaded correctly.
The css file references the fonts by url, those seem to be referenced
correctly and are returned from the server with a 200 OK.
The issue is that somehow, the font files are corrupted. The original ttf
font is 68kb on disk. The downloaded version is 85kb.
At this point, I don't know if I should be looking into glassfish or
wicket. Are my guard patterns correct? I'd like to think so since the
request is completed with "something". Is there a known packaging problem
with maven I should look for?