summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2013-04-08 17:13:01 +0300
committerVaadin Code Review <review@vaadin.com>2013-04-08 14:30:55 +0000
commite27d5dc6bf3d219316c1adb5e08d0d044b56b0f1 (patch)
tree950d88bca080a7bda823a5d5319d076cd13e82c7
parente2578b2ac7df899853ea21397808d2bb8120de34 (diff)
downloadvaadin-framework-e27d5dc6bf3d219316c1adb5e08d0d044b56b0f1.tar.gz
vaadin-framework-e27d5dc6bf3d219316c1adb5e08d0d044b56b0f1.zip
Scan for addon styles in server-side only addon jars as well. #11390
Change-Id: I9c2e6f426d65095631e392780733c408f66474a7
-rw-r--r--client-compiler/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/client-compiler/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java b/client-compiler/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java
index 5bc5c0d0ab..cc04e50b3c 100644
--- a/client-compiler/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java
+++ b/client-compiler/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java
@@ -388,6 +388,9 @@ public class ClassPathExplorer {
if (mainAttributes.getValue("Vaadin-Widgetsets") != null) {
return true;
}
+ if (mainAttributes.getValue("Vaadin-Stylesheets") != null) {
+ return true;
+ }
}
} catch (MalformedURLException e) {
getLogger().log(Level.FINEST, "Failed to inspect JAR file",