]> source.dussan.org Git - vaadin-framework.git/commitdiff
Use sprites for all themes (#9299)
authorArtur Signell <artur@vaadin.com>
Tue, 11 Sep 2012 09:18:25 +0000 (12:18 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 11 Sep 2012 09:19:07 +0000 (12:19 +0300)
theme-compiler/src/com/vaadin/buildhelpers/CompileTheme.java
themes-compiled/build.xml

index d2c64602ab89461044e729b68a95f0127cd0bb23..cb3f9abbe58a554fff4eeb2ef95fa78d2d3b2d8c 100644 (file)
@@ -33,7 +33,7 @@ public class CompileTheme {
                 "the version to add to the compiled theme");
         options.addOption("f", "theme-folder", true,
                 "the folder containing the theme");
-        options.addOption("s", "sprites", true, "use smartsprites");
+        options.addOption("s", "sprites", false, "use smartsprites");
         CommandLineParser parser = new PosixParser();
         CommandLine params = parser.parse(options, args);
         if (!params.hasOption("theme") || !params.hasOption("theme-folder")) {
index b5e27c882f7454d9d2408e087ef47250d29fcd9b..69ca9cff67434dd10414236b217901aaedfc6d9e 100644 (file)
@@ -80,6 +80,7 @@
                        <arg value="${theme.result.dir}" />
                        <arg value="--theme-version" />
                        <arg value="${vaadin.version}" />
+                       <arg value="--sprites" />
                        <jvmarg value="-Xss8M" />
                        <jvmarg value="-XX:MaxPermSize=256M" />
                        <jvmarg value="-Djava.awt.headless=true" />