diff options
author | Artur Signell <artur@vaadin.com> | 2013-06-10 20:15:35 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-06-10 20:21:56 +0300 |
commit | 37bc9e41db0278f42263452e12a8b3fc87b664ba (patch) | |
tree | ec48ab05ece102bd43e727da253030dac26475b3 /themes/build.xml | |
parent | d9becf9523fdd71abb1b93072a76df163b9dd2c0 (diff) | |
download | vaadin-framework-37bc9e41db0278f42263452e12a8b3fc87b664ba.tar.gz vaadin-framework-37bc9e41db0278f42263452e12a8b3fc87b664ba.zip |
Reformatted using Ant editor (#12040)
Change-Id: If8afd65d5905302c64f12ef7f76ee7e63073c474
Diffstat (limited to 'themes/build.xml')
-rw-r--r-- | themes/build.xml | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/themes/build.xml b/themes/build.xml index 89c78b11b9..5ee7ec4ec7 100644 --- a/themes/build.xml +++ b/themes/build.xml @@ -1,7 +1,6 @@ <?xml version="1.0"?> -<project name="vaadin-themes" basedir="." default="publish-local" - xmlns:ivy="antlib:org.apache.ivy.ant"> +<project name="vaadin-themes" basedir="." default="publish-local" xmlns:ivy="antlib:org.apache.ivy.ant"> <description> Themes compiled to CSS </description> @@ -24,8 +23,7 @@ <target name="compile-themes"> <ivy:resolve resolveid="common" conf="build" /> - <ivy:cachepath pathid="classpath.compile.theme" - conf="build" /> + <ivy:cachepath pathid="classpath.compile.theme" conf="build" /> <antcall target="compile-theme"> <param name="theme" value="base" /> @@ -52,15 +50,14 @@ </target> <target name="copy-theme"> - <fail unless="theme" - message="You must give the theme name to copy n the 'theme' parameter" /> + <fail unless="theme" message="You must give the theme name to copy n the 'theme' parameter" /> <property name="theme.source.dir" location="../WebContent/VAADIN/themes" /> <copy todir="${theme.result.dir}"> <fileset dir="${theme.source.dir}"> <include name="${theme}/**/*.scss" /> </fileset> - <filterset refid="filter-vaadin.version"/> + <filterset refid="filter-vaadin.version" /> </copy> <copy todir="${theme.result.dir}"> <fileset dir="${theme.source.dir}"> @@ -70,22 +67,17 @@ </target> <target name="compile-theme" depends="copy-theme"> - <fail unless="theme" - message="You must give the theme name to compile in the 'theme' parameter" /> + <fail unless="theme" message="You must give the theme name to compile in the 'theme' parameter" /> <ivy:resolve resolveid="common" conf="compile-theme" /> - <ivy:cachepath pathid="classpath.compile.theme" - conf="compile-theme" /> - <ivy:cachepath pathid="classpath.runtime.theme" - conf="build" /> + <ivy:cachepath pathid="classpath.compile.theme" conf="compile-theme" /> + <ivy:cachepath pathid="classpath.runtime.theme" conf="build" /> <echo>Compiling ${theme}</echo> <mkdir dir="${theme.result.dir}" /> <!-- compile the theme --> - <java classname="com.vaadin.buildhelpers.CompileTheme" - classpathref="classpath.compile.theme" failonerror="yes" - fork="yes" maxmemory="512m"> + <java classname="com.vaadin.buildhelpers.CompileTheme" classpathref="classpath.compile.theme" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="--theme" /> <arg value="${theme}" /> <arg value="--theme-folder" /> |