Ignore:
Timestamp:
2016-05-09T16:11:32+12:00 (8 years ago)
Author:
Georgiy Litvinov
Message:

Moved to incremental rebuild in webeditor

File:
1 edited

Legend:

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

    r30262 r30516  
    356356    }
    357357
     358    /** the archives database file - */
     359    static public String archivesDatabaseFile(String site_home, String collection_name, String database_type)
     360    {
     361    String db_ext = DBHelper.getDBExtFromDBType(database_type);
     362    if (null == db_ext || db_ext.equals("")) {
     363        logger.warn("Could not recognise database type \"" + database_type + "\", defaulting to GDBM and extension \".gdb\"");
     364        // assume gdbm
     365        db_ext = ".gdb";
     366    }
     367    return site_home + File.separatorChar + "collect" + File.separatorChar + collection_name + File.separatorChar + "archives" + File.separatorChar + "archiveinf-doc" + db_ext;
     368    }
    358369    // some file utility methods
    359370
Note: See TracChangeset for help on using the changeset viewer.