Ignore:
Timestamp:
09/15/11 15:20:13 (8 years ago)
Author:
hinerm
Message:

updated fixLibraryPath J2L method

Attempting to use replaceAll method instead
of replace, the latter of which seems not to be
working when replacing backslashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/jar2lib/src/main/java/loci/jar2lib/Jar2Lib.java

    r7768 r7769  
    230230  */ 
    231231  public void fixLibraryPaths() { 
    232     ArrayList<String> tmpArray = new ArrayList<String>(); 
     232    List<String> tmpArray = new ArrayList<String>(); 
    233233 
    234234    for(String libPath : libraryJars) { 
    235       tmpArray.add(libPath.replace("\\\\", "/")); 
     235      tmpArray.add(libPath.replaceAll("\\\\", "/")); 
    236236    } 
    237237    setLibraryJars(tmpArray); 
Note: See TracChangeset for help on using the changeset viewer.