Changeset 22340


Ignore:
Timestamp:
2010-07-02T15:18:53+12:00 (14 years ago)
Author:
sjm84
Message:

Ticket #697: GLI shortcuts to locations that don't exist anymore are no longer loaded upon GLI startup.

File:
1 edited

Legend:

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

    r18589 r22340  
    501501        String name = mapping_element.getAttribute(StaticStrings.NAME_ATTRIBUTE);
    502502        File file = new File(mapping_element.getAttribute(StaticStrings.FILE_ATTRIBUTE));
    503         special_directories.put(name, file);
     503        if(file.exists()) {
     504            special_directories.put(name, file);
     505        }
    504506        file = null;
    505507        name = null;
Note: See TracChangeset for help on using the changeset viewer.