run sass plugin at build time, should fix openshift deployment issues

This commit is contained in:
Athou
2013-05-18 17:50:30 +02:00
parent 0e6ea30a82
commit 18cc08d7ad
5 changed files with 58 additions and 17 deletions

View File

@@ -100,8 +100,8 @@ public abstract class BasePage extends WebPage {
if (getApplication().getConfigurationType() == RuntimeConfigurationType.DEPLOYMENT) {
long startupTime = startupBean.getStartupTime();
String suffix = "?" + startupTime;
response.render(JavaScriptHeaderItem.forUrl("wro/all.js" + suffix));
response.render(CssHeaderItem.forUrl("wro/all.css" + suffix));
response.render(JavaScriptHeaderItem.forUrl("static/all.js" + suffix));
response.render(CssHeaderItem.forUrl("static/all.css" + suffix));
} else {
response.render(JavaScriptHeaderItem.forUrl("wro/lib.js"));
response.render(CssHeaderItem.forUrl("wro/lib.css"));