Ignore:
Timestamp:
2008-02-12T16:13:13+13:00 (16 years ago)
Author:
davidb
Message:

Changes to GLI to support export into Fedora. New utility called flisvn diff gems/MetadataSetManager.java

File:
1 edited

Legend:

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

    r13753 r14974  
    247247        }
    248248
     249
    249250        // Create the process.
    250251        Runtime runtime = Runtime.getRuntime();
    251252        Process process = runtime.exec(args);
     253
     254        /*
     255        for (int i=0; i<args.length; i++) {
     256            System.err.print(args[i] + " ");
     257        }
     258        System.err.println("");
     259        */
     260
     261
    252262        document = XMLTools.parseXML(process.getErrorStream());
     263       
     264        if (document == null) {
     265            // command has not generated XML, script has probably failed in some way
     266            for (int i=0; i<args.length; i++) {
     267            DebugStream.print(args[i] + " ");
     268            }
     269            DebugStream.println("");
     270        }
    253271        }
    254272
Note: See TracChangeset for help on using the changeset viewer.