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

ClassFinder.infinispanClasses does not work corrctly

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.2.5.Final
    • Fix Version/s: 5.3.0.Alpha1, 5.3.0.Final
    • Component/s: None
    • Labels:
      None

      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".

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: