Browse Source

Fix themes build script not to overwrite all theme files on every iteration. (#14575)

Change-Id: I58d19f7f5c9e45068b6cc8a7356e41d5d5bce5b6
tags/7.4.0.beta1
Sauli Tähkäpää 9 years ago
parent
commit
7386144a8e
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      themes/build.xml

+ 5
- 5
themes/build.xml View File

@@ -56,17 +56,17 @@

<target name="copy-theme">
<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" />
<property name="theme.source.dir" location="../WebContent/VAADIN/themes/${theme}/" />

<copy todir="${theme.result.dir}">
<copy todir="${theme.result.dir}/${theme}">
<fileset dir="${theme.source.dir}">
<include name="${theme}/**/*.scss" />
<include name="**/*.scss" />
</fileset>
<filterset refid="filter-vaadin.version" />
</copy>
<copy todir="${theme.result.dir}">
<copy todir="${theme.result.dir}/${theme}">
<fileset dir="${theme.source.dir}">
<exclude name="${theme}/**/*.scss" />
<exclude name="**/*.scss" />
</fileset>
</copy>
</target>

Loading…
Cancel
Save