Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

JRebel vaadin css files

$
0
0

Hi,

We have a trial licence to see if JRebel could help us in development of our application.
The main technologies we use are maven, Osgi, Vaadin, felix.
I have used the maven plugin to generate all the rebel.xml files and added the Jrebel dll to the agentpath of the felix startup command.
Class compiling and reloading works, which is great, but we have a problem with css files.

If the cache is cleared, the application does not load properly. I have looked in chrome network log to see what is wrong, and it looks like the main styles.css file is loaded with a wrong content-type header. Without JRebel it is Content-Type:text/css, with JRebel activated it is Content-Type:content/unknown.
The content is “@import url(“../csf/styles.css”);”

Does anyone have any idea how to fix this?


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>