Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1338

DirectoryScanner should only take into account relevant files

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.5
    • Component/s: All
    • Labels:
      None

      Description

      Currently DirectoryScanner in its configure and loadPackageChanges methods takes into account all types of files and hands them to FileScanner. This causes issues when the directory specified is under source management control (at least if CVS or Subversion are used) as the .svn or similar files/dirs cause FileScanner to barf. Now I'm sure that for plenty of cases the dir passed to DirectoryScanner won't be SCM managed but I think there might also be lots of situations where it is. Considering that it would be such a trivial change to either:

      • only take into account .pkg and .drl files (or do we need .dsl, .rf as well)
      • or at least ignore dot files (and maybe directories in general?)

      I think it will be worth doing.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michaelneale Michael Neale
                Reporter:
                joeslow Jörg Erdmenger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: