Changeset 30830

Show
Ignore:
Timestamp:
22.09.2016 11:54:19 (3 years ago)
Author:
kjdon
Message:

CollectionClassLoader? changed to CustomClassLoader?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XSLTUtil.java

    r30810 r30830  
    417417            DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); 
    418418 
    419             CollectionClassLoader class_loader = new CollectionClassLoader(XSLTUtil.class.getClassLoader(), GSFile.siteHome(GlobalProperties.getGSDL3Home(), site_name), collection); 
     419            CustomClassLoader class_loader = new CustomClassLoader(XSLTUtil.class.getClassLoader(), GSFile.collectionResourceDir(GSFile.siteHome(GlobalProperties.getGSDL3Home(), site_name), collection)); 
    420420            Dictionary dict = new Dictionary(collection, lang, class_loader); 
    421421            String result = dict.get(key, args);