diff options
author | elmot <elmot@vaadin.com> | 2016-04-12 18:00:43 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-13 10:46:01 +0000 |
commit | 6a4b1a396be831721feb0f3fa88ee537b30d6af1 (patch) | |
tree | 7faadff3fda186580b868f85e21eb454fd713af8 /themes | |
parent | bd987e2e1d7aaf2fdb8253c4d9f383d8c5715555 (diff) | |
download | vaadin-framework-6a4b1a396be831721feb0f3fa88ee537b30d6af1.tar.gz vaadin-framework-6a4b1a396be831721feb0f3fa88ee537b30d6af1.zip |
Legacy themes compilation
Change-Id: Icef310bb14eaf9d1b3c0c8571e88274ae6e8e37b
Diffstat (limited to 'themes')
-rw-r--r-- | themes/pom.xml | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/themes/pom.xml b/themes/pom.xml index 3472acd671..612145d8dc 100644 --- a/themes/pom.xml +++ b/themes/pom.xml @@ -97,6 +97,102 @@ <artifactId>exec-maven-plugin</artifactId> <executions> <execution> + <id>compile-legacy-base</id> + <phase>process-resources</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <classpathScope>compile</classpathScope> + <executable>${java.home}/bin/java</executable> + <arguments> + <argument>-classpath</argument> + <classpath /> + + <argument>com.vaadin.sass.SassCompiler</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/base/legacy-styles.scss</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/base/legacy-styles.css</argument> + </arguments> + </configuration> + </execution> + + <execution> + <id>compile-legacy-chameleon</id> + <phase>process-resources</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <classpathScope>compile</classpathScope> + <executable>${java.home}/bin/java</executable> + <arguments> + <argument>-classpath</argument> + <classpath /> + + <argument>com.vaadin.sass.SassCompiler</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/chameleon/legacy-styles.scss</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/chameleon/legacy-styles.css</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>compile-legacy-liferay</id> + <phase>process-resources</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <classpathScope>compile</classpathScope> + <executable>${java.home}/bin/java</executable> + <arguments> + <argument>-classpath</argument> + <classpath /> + + <argument>com.vaadin.sass.SassCompiler</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/liferay/legacy-styles.scss</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/liferay/legacy-styles.css</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>compile-legacy-reindeer</id> + <phase>process-resources</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <classpathScope>compile</classpathScope> + <executable>${java.home}/bin/java</executable> + <arguments> + <argument>-classpath</argument> + <classpath /> + + <argument>com.vaadin.sass.SassCompiler</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/reindeer/legacy-styles.scss</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/reindeer/legacy-styles.css</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>compile-legacy-runo</id> + <phase>process-resources</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <classpathScope>compile</classpathScope> + <executable>${java.home}/bin/java</executable> + <arguments> + <argument>-classpath</argument> + <classpath /> + + <argument>com.vaadin.sass.SassCompiler</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/runo/legacy-styles.scss</argument> + <argument> ${project.build.outputDirectory}/VAADIN/themes/runo/legacy-styles.css</argument> + </arguments> + </configuration> + </execution> + <execution> <id>smart-sprite-reindeer</id> <phase>process-resources</phase> <goals> @@ -168,6 +264,9 @@ <move file="${reindeer.theme.path}/styles-sprite.css" tofile="${reindeer.theme.path}/styles.css" /> + <move file="${reindeer.theme.path}/legacy-styles-sprite.css" + tofile="${reindeer.theme.path}/legacy-styles.css" /> + <gzip src="${reindeer.theme.path}/styles.css" destfile="${reindeer.theme.path}/styles.css.gz" /> </target> </configuration> |