Changeset 7764 for trunk/projects


Ignore:
Timestamp:
09/15/11 14:40:43 (8 years ago)
Author:
hinerm
Message:

Added extra level of escape ('\') for jar file conversions

A single level of escape ("
") was still not converting backslashes
to forward slashes on Windows. The hope is that two levels ("

")
will function properly.

File:
1 edited

Legend:

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

    r7757 r7764  
    198198      } 
    199199      else if (arg.startsWith("-")) die("Unknown flag: " + arg); 
    200       else libraryJars.add(arg.replace("\\", "/")); 
     200      else libraryJars.add(arg.replace("\\\\", "/")); 
    201201    } 
    202202    if (projectId == null || projectName == null || libraryJars.size() == 0) { 
Note: See TracChangeset for help on using the changeset viewer.