summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-01-15 08:56:10 +0200
committerArtur Signell <artur@vaadin.com>2015-01-15 08:56:10 +0200
commit8361d1379c49ef5ce03d329d4e5fdcf63579e652 (patch)
tree2cc298a5e386302c663d412e57a165d5d84ba0a5 /themes
parentb6fda7481f0be3a0b94dde3e7f659a0b211d3943 (diff)
downloadvaadin-framework-8361d1379c49ef5ce03d329d4e5fdcf63579e652.tar.gz
vaadin-framework-8361d1379c49ef5ce03d329d4e5fdcf63579e652.zip
Reformat build files
Change-Id: Iab68be3e5d5e59bb05610677642a5715efe50feb
Diffstat (limited to 'themes')
-rw-r--r--themes/build.xml28
1 files changed, 19 insertions, 9 deletions
diff --git a/themes/build.xml b/themes/build.xml
index 4a95c043fc..487376ebdf 100644
--- a/themes/build.xml
+++ b/themes/build.xml
@@ -1,6 +1,7 @@
<?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 +25,10 @@
</union>
<target name="compile-themes">
- <ivy:resolve log="download-only" resolveid="common" conf="build" />
- <ivy:cachepath pathid="classpath.compile.theme" conf="build" />
+ <ivy:resolve log="download-only" resolveid="common"
+ conf="build" />
+ <ivy:cachepath pathid="classpath.compile.theme"
+ conf="build" />
<antcall target="compile-theme">
<param name="theme" value="base" />
@@ -55,7 +58,8 @@
</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/${theme}/" />
<copy todir="${theme.result.dir}/${theme}">
@@ -72,17 +76,23 @@
</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 log="download-only" resolveid="common" conf="compile-theme" />
- <ivy:cachepath pathid="classpath.compile.theme" conf="compile-theme" />
- <ivy:cachepath pathid="classpath.runtime.theme" conf="build" />
+ <ivy:resolve log="download-only" resolveid="common"
+ conf="compile-theme" />
+ <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" />