Ignore:
Timestamp:
2010-04-14T13:14:39+12:00 (14 years ago)
Author:
kjdon
Message:

add in greenstone metadata set by default to a new collection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r21549 r21880  
    17411741
    17421742    /** I started giving the user the choice of using an existing meta set or creating a new one. The second option being so that they didn't have to add/merge/ignore each element, they could all be added automatically. However, I am not sure where the merge prompt gets called from, and it is not essential, so I am leaving it for now - it should be added back in and finished. [kjdon] */
     1743  // now add in greenstone metadata set too.
    17431744    private void addDefaultMetadataSets()
    17441745    {
     
    17481749    if (dc_file.exists()) {
    17491750        importMetadataSet(new MetadataSet(dc_file));
     1751    }
     1752    File gs_file = new File(Gatherer.getGLIMetadataDirectoryPath()+"greenstone.mds");
     1753    if (gs_file.exists()) {
     1754        importMetadataSet(new MetadataSet(gs_file));
    17501755    }
    17511756    }
Note: See TracChangeset for help on using the changeset viewer.