Commit cc43fb9d authored by Matija Obreza's avatar Matija Obreza
Browse files

Moved default-content

parent d1e7f75d
......@@ -63,7 +63,7 @@ public class CreateContentListener extends RunAsAdminListener {
_logger.info("Checking if default content exists");
ClassLoader classLoader = CreateContentListener.class.getClassLoader();
PathMatchingResourcePatternResolver rpr = new PathMatchingResourcePatternResolver(classLoader);
String resourcePath = CreateContentListener.class.getPackage().getName().replace('.', '/').concat("/default-content/*");
String resourcePath = "/default-content/*";
Resource[] rs = rpr.getResources(resourcePath);
for (Resource r : rs) {
_logger.info(r.getFilename());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment