Changeset 2165


Ignore:
Timestamp:
01/26/07 13:50:03 (13 years ago)
Author:
melissa
Message:

Make sure we use the absolute path to the root data directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/test/ReaderTest.java

    r2162 r2165  
    6161 
    6262  /** Debugging flag. */ 
    63   private static final boolean DEBUG = false; 
     63  private static final boolean DEBUG = true; 
    6464 
    6565  // -- Static fields -- 
     
    538538      try { 
    539539        String s = (String) configFiles.get(i); 
    540         if (!config.parsedFiles.contains(s)) config.addFile(s); 
     540        if (!config.parsedFiles.contains(s)) { 
     541          config.addFile(s); 
     542          /* debug */ System.out.println("added config file " + s); 
     543        } 
    541544      } 
    542545      catch (IOException e) { 
     
    625628    System.out.print("Building file list..."); 
    626629    if (DEBUG) System.out.println(); 
    627     getFiles(args[0], files); 
     630    getFiles(new Location(args[0]).getAbsolutePath(), files); 
    628631    System.out.println(files.size() + " found."); 
    629632    while (files.size() > 0) { 
Note: See TracChangeset for help on using the changeset viewer.