Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2920

ClassFinder.infinispanClasses does not work corrctly

    XMLWordPrintable

    Details

      Description

      In order to filter out the classes that pertain to infinispan, the following condition is used:

            for (String path : javaClassPath.split(File.pathSeparator)) {
               if (path.contains("infinispan")) {
                  files.add(new File(path));
               }
            }
      

      The path.contains("infinispan") logic is broken: we should instead look into the path and all the children dirs for the string "infinispan". This logic only works if you run the suite in a directory named "infinispan".

        Attachments

          Activity

            People

            Assignee:
            mircea.markus Mircea Markus (Inactive)
            Reporter:
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: