Changeset 511


Ignore:
Timestamp:
11/20/13 10:02:18 (11 years ago)
Author:
csl14
Message:

Fixed documentation extraction for Windows compatability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/FrameUtils.java

    r504 r511  
    16761676       
    16771677        private static void extractDocumentation() {
     1678                System.out.println("docs");
    16781679                try     {
    16791680                        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
     
    17501751                                }
    17511752                                for (File file : files) {
    1752                                         if(file.getPath().contains("org/expeditee/resources/documentation")) {
     1753                                        System.out.println(file.getPath());
     1754                                        if(file.getPath().contains("org" + File.separator + "expeditee" + File.separator + "resources" + File.separator + "documentation")) {
    17531755                                                path = FrameIO.HELP_PATH;
    1754                                                 classPath = "org/expeditee/resources/documentation";
    1755                                         } else if (file.getPath().contains("org/expeditee/resources/dict")) {
     1756                                                classPath = "org" + File.separator + "expeditee" + File.separator + "resources" + File.separator + "documentation";
     1757                                        } else if (file.getPath().contains("org" + File.separator + "expeditee" + File.separator + "resources" + File.separator + "dict")) {
    17561758                                                path = FrameIO.DICT_PATH;
    1757                                                 classPath = "org/expeditee/resources/dict";
     1759                                                classPath = "org" + File.separator + "expeditee" + File.separator + "resources" + File.separator + "dict";
    17581760                                        } else {
    17591761                                                continue;
Note: See TracChangeset for help on using the changeset viewer.