Update topics/themes.adoc

This commit is contained in:
Stian Thorgersen 2016-06-08 06:01:35 +02:00
parent dc076a932c
commit 213783ff42

View file

@ -331,15 +331,15 @@ bin\jboss-cli.bat --command="module add --name=org.example.mytheme --resources=m
This command creates `modules/org/example/mytheme/main` directory with the `mytheme.zip` archive and `module.xml`. This command creates `modules/org/example/mytheme/main` directory with the `mytheme.zip` archive and `module.xml`.
To manually create the module create the directory `modules/org/keycloak/example/themes/main`, copy `mytheme.zip` to this directory and create the file To manually create the module create the directory `modules/org/keycloak/example/mytheme/main`, copy `mytheme.zip` to this directory and create the file
`modules/org/keycloak/example/themes/main/module.xml` with the contents: `modules/org/keycloak/example/mytheme/main/module.xml` with the contents:
[source,xml] [source,xml]
---- ----
<?xml version="1.0" ?> <?xml version="1.0" ?>
<module xmlns="urn:jboss:module:1.3" name="org.keycloak.example.themes"> <module xmlns="urn:jboss:module:1.3" name="org.keycloak.example.themes">
<resources> <resources>
<resource-root path="theme.zip"/> <resource-root path="mytheme.zip"/>
</resources> </resources>
</module> </module>
---- ----