<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 <keycloak-home>/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"><<a moz-do-not-send="true"
href="mailto:ssilvert@redhat.com" target="_blank">ssilvert@redhat.com</a>></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>
> 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">><br>
> On 4/24/2016 10:14 PM, Bill Burke wrote:<br>
>> What download are you talking about RH-SSO?<br>
>><br>
>> On 4/24/2016 9:50 PM, Stan Silvert wrote:<br>
>>> On 4/24/2016 9:49 PM, Bill Burke wrote:<br>
>>>> What final build?<br>
>>> The one that actually makes it to the
download. It's been like this for<br>
>>> a while so it must be working. I really
don't know the details.<br>
>>>> On 4/24/2016 9:32 PM, Stan Silvert
wrote:<br>
>>>>> On 4/24/2016 6:05 PM, Bill Burke
wrote:<br>
>>>>>> Doesn't boot anymore on 1.9.x
build (not sure about master). Built from<br>
>>>>>> clean clone of keycloak repo.
I'll look at it tomorrow (Monday) unless<br>
>>>>>> the Europeans can do it.<br>
>>>>> Are you running from
/server-dist/target? You can't do that any more<br>
>>>>> because it doesn't have a
/modules/layers.conf file.<br>
>>>>><br>
>>>>> I'd be all for having the
server-dist include that file. Not sure why<br>
>>>>> it is not in server-dist, but it
does get copied over in the final build.<br>
>>>>>> Caused by:
org.jboss.modules.ModuleNotFoundException:<br>
>>>>>>
org.keycloak.keycloak-server-subsystem:main<br>
>>>>>> at<br>
>>>>>>
org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:223)<br>
>>>>>> [jboss-modules.jar:1.5.1.Final]<br>
>>>>>> at<br>
>>>>>>
org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178)<br>
>>>>>>
[wildfly-controller-2.0.10.Final.jar:2.0.10.Final]<br>
>>>>>> ... 8 more<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>
>>>
_______________________________________________<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>
<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>