[jboss-jira] [JBoss JIRA] Created: (JBRULES-1338) DirectoryScanner should only take into account relevant files

Jᅢᄊrg Erdmenger (JIRA) jira-events at lists.jboss.org
Thu Nov 22 09:08:19 EST 2007


DirectoryScanner should only take into account relevant files
-------------------------------------------------------------

                 Key: JBRULES-1338
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1338
             Project: JBoss Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: All
            Reporter: Jᅢᄊrg Erdmenger


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list