<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 4/25/2016 8:03 AM, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJgngAfJwfnNmwAO+PW_N=49+FyAU0iYCDAXsaUZh2vTKY4DyQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">I've just tried a clean build from 1.9.x sources
        here and it works fine. What steps do you use to build and run
        it?</div>
    </blockquote>
    I go to &lt;keycloak-home&gt;/distribution and run:<br>
    mvn install -DskipTests<br>
    <br>
    Then if I want to run a development server from server-dist, I run a
    bat file with this:<br>
    cd c:\GitHub\keycloak\distribution\server-dist<br>
    call mvn clean<br>
    sed -i
    's/copy-module-artifacts="true"/copy-module-artifacts="false"/'
/cygdrive/c/GitHub/keycloak/distribution/server-dist/server-provisioning.xml<br>
    call mvn compile -DskipTests<br>
    sed -i
    's/copy-module-artifacts="false"/copy-module-artifacts="true"/'
/cygdrive/c/GitHub/keycloak/distribution/server-dist/server-provisioning.xml<br>
    <br>
    cd
c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\standalone\configuration<br>
    sed -i 's,"dir": "${jboss.home.dir}/themes","dir":
    "/GitHub/keycloak/themes/src/main/resources/theme",'
    keycloak-server.json<br>
    <br>
    cd
    c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\modules<br>
    copy
    c:\GitHub\keycloak\distribution\server-dist\src\main\modules\layers.conf
    <br>
    <br>
    cd c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\bin<br>
    add-user -u admin -p admin<br>
    <br>
    <blockquote
cite="mid:CAJgngAfJwfnNmwAO+PW_N=49+FyAU0iYCDAXsaUZh2vTKY4DyQ@mail.gmail.com"
      type="cite">
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 25 April 2016 at 13:47, Stan Silvert
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:ssilvert@redhat.com" target="_blank">ssilvert@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
              class="">On 4/24/2016 10:17 PM, Bill Burke wrote:<br>
              &gt; I'm losing my mind... The unzip has it...<br>
            </span>I felt the same way when I came across that issue. 
            My personal build<br>
            script copies it over so that I can still run from
            server-dist/target.<br>
            <div class="HOEnZb">
              <div class="h5">&gt;<br>
                &gt; On 4/24/2016 10:14 PM, Bill Burke wrote:<br>
                &gt;&gt; What download are you talking about RH-SSO?<br>
                &gt;&gt;<br>
                &gt;&gt; On 4/24/2016 9:50 PM, Stan Silvert wrote:<br>
                &gt;&gt;&gt; On 4/24/2016 9:49 PM, Bill Burke wrote:<br>
                &gt;&gt;&gt;&gt; What final build?<br>
                &gt;&gt;&gt; The one that actually makes it to the
                download.  It's been like this for<br>
                &gt;&gt;&gt; a while so it must be working.  I really
                don't know the details.<br>
                &gt;&gt;&gt;&gt; On 4/24/2016 9:32 PM, Stan Silvert
                wrote:<br>
                &gt;&gt;&gt;&gt;&gt; On 4/24/2016 6:05 PM, Bill Burke
                wrote:<br>
                &gt;&gt;&gt;&gt;&gt;&gt; Doesn't boot anymore on 1.9.x
                build (not sure about master).  Built from<br>
                &gt;&gt;&gt;&gt;&gt;&gt; clean clone of keycloak repo. 
                I'll look at it tomorrow (Monday) unless<br>
                &gt;&gt;&gt;&gt;&gt;&gt; the Europeans can do it.<br>
                &gt;&gt;&gt;&gt;&gt; Are you running from
                /server-dist/target?  You can't do that any more<br>
                &gt;&gt;&gt;&gt;&gt; because it doesn't have a
                /modules/layers.conf file.<br>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt; I'd be all for having the
                server-dist include that file.  Not sure why<br>
                &gt;&gt;&gt;&gt;&gt; it is not in server-dist, but it
                does get copied over in the final build.<br>
                &gt;&gt;&gt;&gt;&gt;&gt; Caused by:
                org.jboss.modules.ModuleNotFoundException:<br>
                &gt;&gt;&gt;&gt;&gt;&gt;
                org.keycloak.keycloak-server-subsystem:main<br>
                &gt;&gt;&gt;&gt;&gt;&gt;                at<br>
                &gt;&gt;&gt;&gt;&gt;&gt;
                org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:223)<br>
                &gt;&gt;&gt;&gt;&gt;&gt; [jboss-modules.jar:1.5.1.Final]<br>
                &gt;&gt;&gt;&gt;&gt;&gt;                at<br>
                &gt;&gt;&gt;&gt;&gt;&gt;
org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178)<br>
                &gt;&gt;&gt;&gt;&gt;&gt;
                [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]<br>
                &gt;&gt;&gt;&gt;&gt;&gt;                ... 8 more<br>
                &gt;&gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt;
                _______________________________________________<br>
                &gt;&gt;&gt;&gt;&gt; keycloak-dev mailing list<br>
                &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true"
                  href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
                &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/keycloak-dev"
                  rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
                &gt;&gt;&gt;
                _______________________________________________<br>
                &gt;&gt;&gt; keycloak-dev mailing list<br>
                &gt;&gt;&gt; <a moz-do-not-send="true"
                  href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
                &gt;&gt;&gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/keycloak-dev"
                  rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
                <br>
                _______________________________________________<br>
                keycloak-dev mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/keycloak-dev"
                  rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>