List Info

Thread: Updated: (JBSEAM-485) Add support to configure Scanner to ignore cer




Updated: (JBSEAM-485) Add support to configure Scanner to ignore cer
country flaguser name
United States
2008-02-11 13:00:31
     [ http://jira.jboss.com/jira/browse/JBSEAM-485?page=all
]

Norman Richards updated JBSEAM-485:
-----------------------------------

    Fix Version/s: 2.1.0.GA
                       (was: 2.1.0.A1)

> Add support to configure Scanner to ignore certain
names
>
--------------------------------------------------------
>
>                 Key: JBSEAM-485
>                 URL: http://j
ira.jboss.com/jira/browse/JBSEAM-485
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 1.1.0.CR1
>            Reporter: jarkko Lietolahti
>         Assigned To: Pete Muir
>            Priority: Trivial
>             Fix For: 2.1.0.GA
>
>
> Make it possibe to configure Scanner to ignore certain
files/directories. E.g. in development we're deploying Seam
EAR as an exploded EAR with exploded WAR's and JAR's inside
it and we use SVN for version control. SVN uses
".svn" directories to store metadata. Seam startup
logs shows that scanning the .svn directories take some time
and there're never going to be anything usefull for Seam in
there anyways.
> Simple fix:
>  private void
handleDirectory(Set<Class<Object>> result, File
file,
>          String path)
>    {
>       log.debug("directory: " + file);
>       for (File child : file.listFiles())
>       {
>          String newPath = path == null ?
child.getName() : path + '/'
>                + child.getName();
>          if
(child.getName().startsWith(".svn"))
>          {
>             continue;
>          }
>          if (child.isDirectory())
>          {
>             handleDirectory(result, child, newPath);
>          } else
>          {
>             handleItem(result, newPath);
>          }
>       }
>    }

-- 
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.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )