<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ales Justin wrote:
<blockquote cite="mid:4A338626.8010808@gmail.com" type="cite">
  <blockquote type="cite">Would it be possible to have "trace" logging
that would show classes that are scanned and whether annotations were
found?&nbsp; I enabled trace for "AnnotationEnvironmentDeployer" but didn't
see enough information.
    <br>
  </blockquote>
  <br>
This is already there:
  <br>
  <br>
package org.jboss.deployers.plugins.annotations;
  <br>
  <br>
public class DefaultAnnotationEnvironment extends WeakClassLoaderHolder
implements AnnotationEnvironment, Serializable
  <br>
  <br>
&nbsp;&nbsp; void putAnnotation(Annotation annotation, ElementType type, String
className, Signature signature)
  <br>
&nbsp;&nbsp; {
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Class&lt;? extends Annotation&gt; annClass =
annotation.annotationType();
  <br>
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (log.isTraceEnabled())
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log.trace("Adding annotation @" + annClass.getSimpleName() + "
for " + className + " at type " + type + ", signature: " + signature);
  <br>
</blockquote>
<br>
If trace is enabled, could we also show the classes that have no
annotations?&nbsp; Perhaps in GenericAnnotationResourceVisitor.visit()?&nbsp;
This will help me understand what should be in the list of includes and
excludes (to help build the jboss-scanning.xml<strong></strong>).&nbsp; <br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>