Changeset 33970


Ignore:
Timestamp:
2020-02-25T13:46:03+13:00 (4 years ago)
Author:
kjdon
Message:

changed OAIConfig naming to OAIConfig-oaiserver.xml - so multiple versions will show up together on a directory listing

File:
1 edited

Legend:

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

    r33969 r33970  
    214214  }
    215215   
    216   /** Read in OAIConfig.xml (residing web/WEB-INF/classes/) and use it to configure the receptionist etc.
     216  /** Read in OAIConfig-xxx.xml (residing web/WEB-INF/classes/) and use it to configure the receptionist etc.
    217217   *  the oai_version and baseURL variables are also set in here.
    218218   *  The init() method is also called in here. */
     
    221221    File oai_config_file = null;
    222222
    223     String config_filename = servlet_url_name+"-OAIConfig.xml";
     223    String config_filename = "OAIConfig-"+servlet_url_name+".xml";
    224224    try {
    225225      URL oai_config_url = Class.forName("org.greenstone.gsdl3.OAIServer").getClassLoader().getResource(config_filename);
Note: See TracChangeset for help on using the changeset viewer.