KEYCLOAK-10 Added JS library

This commit is contained in:
Stian Thorgersen committed 2014-02-07 13:56:13 +00:00
1 parent 7230f15f69
commit b1ebf237de
10 files changed
+617 -11

No files matched your search

@@ -316,12 +316,12 @@ public class KeycloakServer {
return new URLResource(url, url.openConnection(), path);
} else {
File file;
if (path.startsWith("/forms/")) {
file = file(resourcesHome, "forms", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
} else if (path.startsWith("/admin/")) {
if (path.startsWith("/admin/")) {
file = file(resourcesHome, "admin-ui", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
} else if (path.startsWith("/admin-ui/")) {
file = file(resourcesHome, "admin-ui-styles", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
} else if (path.startsWith("/js/")) {
file = file(resourcesHome, "integration", "js", "src", "main", "resources", "META-INF", "resources", path.replace('/', File.separatorChar));
} else {
throw new IOException("Unknown resource " + path);
}