Changeset 10377


Ignore:
Timestamp:
2005-08-01T14:35:58+12:00 (19 years ago)
Author:
mdewsnip
Message:

Now uploads the collect.cfg file when it is saved, if using remote building.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java

    r10345 r10377  
    3939import org.greenstone.gatherer.metadata.MetadataSetManager;
    4040import org.greenstone.gatherer.metadata.MetadataTools;
     41import org.greenstone.gatherer.remote.RemoteGreenstoneServer;
    4142import org.greenstone.gatherer.util.DOMTree;
    4243import org.greenstone.gatherer.util.Codec;
     
    512513        }
    513514        buffered_writer.close();
     515
     516        // If we're using a remote Greenstone server, upload the new collect.cfg file
     517        if (Gatherer.isGsdlRemote) {
     518            RemoteGreenstoneServer.uploadCollectionFile(collect_cfg_file);
     519        }
    514520        }
    515521        catch (Exception exception) {
Note: See TracChangeset for help on using the changeset viewer.