Project

General

Profile

« Previous | Next » 

Revision 887

Added by berkley over 22 years ago

made it so we can now use multiple accessfilestypes and packagdfiletypes in the metacat.properties file. Also fixed a bug introduced when the 'http://' was removed from behind the server name in the loaddtd.sql script and the knb.xml file

View differences:

MetacatReplication.java
594 594
        String recordDoctype = rs.getString(3);
595 595
        if(!recordDoctype.equals("BIN"))
596 596
        { //don't replicate data files
597
          if(!recordDoctype.equals(util.getOption("packagedoctype")))
597
          Vector packagedoctypes = MetaCatUtil.getOptionList(
598
                                     MetaCatUtil.getOption("packagedoctype"));
599
          if(!packagedoctypes.contains(recordDoctype))
598 600
          { //if this is a package file, put it at the end
599 601
            //because if a package file is read before all of the files it
600 602
            //refers to are loaded then there is an error

Also available in: Unified diff