diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/buildhelpers/com/vaadin/buildhelpers/CompileDefaultTheme.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/buildhelpers/com/vaadin/buildhelpers/CompileDefaultTheme.java b/build/buildhelpers/com/vaadin/buildhelpers/CompileDefaultTheme.java index b4c016d434..84c025a720 100644 --- a/build/buildhelpers/com/vaadin/buildhelpers/CompileDefaultTheme.java +++ b/build/buildhelpers/com/vaadin/buildhelpers/CompileDefaultTheme.java @@ -25,6 +25,7 @@ public class CompileDefaultTheme { private static final String BASE = "base"; private static final String RUNO = "runo"; private static final String REINDEER = "reindeer"; + private static final String LIFERAY = "liferay"; /** * @param args @@ -43,6 +44,7 @@ public class CompileDefaultTheme { combineTheme(new String[] { BASE }, false, ver); combineTheme(new String[] { BASE, RUNO }, false, ver); combineTheme(new String[] { BASE, REINDEER }, true, ver); + combineTheme(new String[] { BASE, LIFERAY }, false, ver); } /** @@ -163,7 +165,9 @@ public class CompileDefaultTheme { urlPrefix = "../" + themeName + "/"; } - if (strLine.indexOf("url(../") > 0) { + if (strLine.indexOf("url(/") > 0) { + // Do nothing for urls beginning with / + } else if (strLine.indexOf("url(../") > 0) { strLine = strLine.replaceAll("url\\(../", ("url\\(" + urlPrefix)); |