<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Putting the themes into a module jar
      raises two usability issues:<br>
      1) They have to be extracted and the re-jarred<br>
      2) Modules live many, many level deep in the directory structure
      and are therefore hard to find.<br>
      <br>
      I'm not familiar with the limitations of the patching tool, but is
      seems that we could do this:<br>
      * Don't put themes in a jar.&nbsp; Plain files can also live inside a
      module.<br>
      * Create a second module directory structure.&nbsp; JBoss Modules lets
      you have multiple paths for modules.&nbsp; So we just have a
      &lt;KEYCLOAK HOMe&gt;/themes path that is a known module path.<br>
      <br>
      The question is, will the patching tool be able to deal with
      that?&nbsp; If not, we need to fix the patching tool.<br>
      <br>
      On 2/12/2016 9:44 AM, Stian Thorgersen wrote:<br>
    </div>
    <blockquote
cite="mid:CAJgngAdaa0OvWtXTD7nUGXsE5S7zF-C=zKUSEe3vPNgM75W=Sg@mail.gmail.com"
      type="cite">
      <p dir="ltr">Currently we include built-in themes in the themes
        jar as well as extracted to standalone/configuration/themes. We
        have to remove the extracted files.</p>
      <p dir="ltr">This is due to patching. The patching tools only
        supports patching modules, not files. If we need to patch the
        theme templates (quite likely we will) we can then only patch
        the jar. As the extracted themes override the jar it won't work
        unless we remove them.</p>
      <p dir="ltr">The main problem with removing the extracted files is
        that they are useful for someone that needs to modify the
        templates. I think the best would just be to give people
        instructions on how to extract these from the jar. It's just a
        zip after all.</p>
      <p dir="ltr">Thoughts??</p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>