Project

General

Profile

« Previous | Next » 

Revision 92344bf3

Added by Andreas Kohlbecker over 5 years ago

adapting to chages in CdmUtils

View differences:

eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/cache/CdmServiceCacher.java
66 66
        EhCacheConfiguration cacheConfig = new EhCacheConfiguration();
67 67

  
68 68
        DiskStoreConfiguration diskStoreConfiguration = new DiskStoreConfiguration();
69
        File ehcacheFolder = CdmUtils.getCdmSubDir("taxeditor-ehcache");
69
        File ehcacheFolder = CdmUtils.getCdmHomeSubDir("taxeditor-ehcache");
70 70
        // FIXME use subfolder per taxeditor version to allow running multiple installations in parallel
71 71
        // String taxEditorVersion = ..;
72 72
        // File ehcacheFolder = new File(ehcacheFolder, taxEditorVersion);
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/remoting/source/CdmServerInfo.java
375 375

  
376 376

  
377 377
    public static List<CdmServerInfo> getCdmServers() {
378
        List<CdmServerInfoConfig> configList = loadFromConfigFile(new File(CdmUtils.perUserCdmFolder, CDM_REMOTE_SERVERS_CONFIG_FILE));
378
        List<CdmServerInfoConfig> configList = loadFromConfigFile(new File(CdmUtils.PER_USER_CDM_FOLDER, CDM_REMOTE_SERVERS_CONFIG_FILE));
379 379
        List<CdmServerInfo> serverInfoList = new ArrayList<CdmServerInfo>(configList.size());
380 380
        for(CdmServerInfoConfig config : configList) {
381 381
            serverInfoList.add(new CdmServerInfo(config));

Also available in: Unified diff