Changeset 7486


Ignore:
Timestamp:
2004-05-28T15:19:47+12:00 (20 years ago)
Author:
mdewsnip
Message:

Now creates an import directory if it doesn't exist when a new collection is created.

File:
1 edited

Legend:

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

    r7484 r7486  
    310310        if(progress != null) {
    311311        progress.setNote(Dictionary.get("CollectionManager.Log_Created"));
     312        }
     313
     314        // Make sure an import folder exists
     315        File import_directory = new File(Utility.getImportDir(a_dir));
     316        if (!import_directory.exists()) {
     317        import_directory.mkdirs();
    312318        }
    313319
Note: See TracChangeset for help on using the changeset viewer.