Merge pull request #68 from ammendonca/KEYCLOAK-RersourceLoadingPath
KEYCLOAK When using -Dresources the default path expects to find "keyclo...
This commit is contained in:
commit
91297f1ffd
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class KeycloakServer {
|
|||
String resources = System.getProperty("resources");
|
||||
if (resources == null || resources.equals("")) {
|
||||
for (String c : System.getProperty("java.class.path").split(File.pathSeparator)) {
|
||||
if (c.contains("keycloak" + File.separator + "testsuite" + File.separator + "integration")) {
|
||||
if (c.contains(File.separator + "testsuite" + File.separator + "integration")) {
|
||||
config.setResourcesHome(c.replaceFirst("testsuite.integration.*", ""));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue