Changeset 10369


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

Now sets gsdl_path to null so we will know if the GLI tries to do anything naughty when using remote building.

File:
1 edited

Legend:

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

    r10368 r10369  
    139139        // With remote building we use our own collect directory, since we can't use the Greenstone one
    140140        setCollectDirectoryPath(getGLIUserDirectoryPath() + "collect" + File.separator);
    141     }
    142 
    143     // Set the Greenstone path specially when running with a remote Greenstone
    144     if (isGsdlRemote) {
    145         go.gsdl_path = getGLIUserDirectoryPath();
     141
     142        // We don't have a local Greenstone!
     143        go.gsdl_path = null;
    146144    }
    147145
     
    248246        }
    249247
    250         if (gsdl_path == null) {
     248        // Unless we're using remote building, we need to know where the local Greenstone is
     249        if (!isGsdlRemote && gsdl_path == null) {
    251250        missingGSDL();
    252251        }
Note: See TracChangeset for help on using the changeset viewer.