Include all themes in configuration/themes to make it easy to modify/create themes

This commit is contained in:
Stian Thorgersen 2014-05-27 12:05:09 +01:00
parent 5a2fd16b92
commit 8ae57fd117
2 changed files with 6 additions and 34 deletions

View file

@ -2,38 +2,10 @@
<target name="all">
<delete dir="target/themes"/>
<copy todir="target/themes/login/template" overwrite="true">
<fileset dir="../../forms/common-themes/src/main/resources/theme/login/base">
</fileset>
</copy>
<copy todir="target/themes/login/template" overwrite="true">
<fileset dir="../../forms/common-themes/src/main/resources/theme/login/patternfly">
</fileset>
</copy>
<copy tofile="target/themes/login/template/theme.properties" file="../../forms/common-themes/src/main/resources/theme/login/patternfly/theme.properties" overwrite="true">
<filterchain>
<linecontains negate="true">
<contains value="parent"/>
</linecontains>
</filterchain>
</copy>
<copy todir="target/themes/account/template" overwrite="true">
<fileset dir="../../forms/common-themes/src/main/resources/theme/account/base">
</fileset>
</copy>
<copy todir="target/themes/account/template" overwrite="true">
<fileset dir="../../forms/common-themes/src/main/resources/theme/account/patternfly">
</fileset>
</copy>
<copy tofile="target/themes/account/template/theme.properties" file="../../forms/common-themes/src/main/resources/theme/account/patternfly/theme.properties" overwrite="true">
<filterchain>
<linecontains negate="true">
<contains value="parent"/>
</linecontains>
</filterchain>
</copy>
<copy todir="target/themes" overwrite="true">
<fileset dir="../../examples/themes"/>
<fileset dir="../../forms/common-themes/src/main/resources/theme">
</fileset>
</copy>
</target>
</project>
</project>

View file

@ -24,12 +24,12 @@
<outputDirectory>adapters</outputDirectory>
</dependencySet>
<dependencySet>
<unpack>false</unpack>
<unpack>true</unpack>
<useTransitiveDependencies>false</useTransitiveDependencies>
<includes>
<include>org.keycloak:keycloak-example-themes-dist:zip</include>
</includes>
<outputDirectory>examples</outputDirectory>
<outputDirectory>configuration</outputDirectory>
</dependencySet>
</dependencySets>
<!--