Include all themes in configuration/themes to make it easy to modify/create themes
This commit is contained in:
parent
5a2fd16b92
commit
8ae57fd117
2 changed files with 6 additions and 34 deletions
|
@ -2,38 +2,10 @@
|
||||||
|
|
||||||
<target name="all">
|
<target name="all">
|
||||||
<delete dir="target/themes"/>
|
<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">
|
<copy todir="target/themes" overwrite="true">
|
||||||
<fileset dir="../../examples/themes"/>
|
<fileset dir="../../forms/common-themes/src/main/resources/theme">
|
||||||
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
|
@ -24,12 +24,12 @@
|
||||||
<outputDirectory>adapters</outputDirectory>
|
<outputDirectory>adapters</outputDirectory>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
<dependencySet>
|
<dependencySet>
|
||||||
<unpack>false</unpack>
|
<unpack>true</unpack>
|
||||||
<useTransitiveDependencies>false</useTransitiveDependencies>
|
<useTransitiveDependencies>false</useTransitiveDependencies>
|
||||||
<includes>
|
<includes>
|
||||||
<include>org.keycloak:keycloak-example-themes-dist:zip</include>
|
<include>org.keycloak:keycloak-example-themes-dist:zip</include>
|
||||||
</includes>
|
</includes>
|
||||||
<outputDirectory>examples</outputDirectory>
|
<outputDirectory>configuration</outputDirectory>
|
||||||
</dependencySet>
|
</dependencySet>
|
||||||
</dependencySets>
|
</dependencySets>
|
||||||
<!--
|
<!--
|
||||||
|
|
Loading…
Reference in a new issue