[seam-commits] Seam SVN: r9707 - trunk/src/main/org/jboss/seam/deployment.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Dec 3 19:19:01 EST 2008


Author: dan.j.allen
Date: 2008-12-03 19:19:01 -0500 (Wed, 03 Dec 2008)
New Revision: 9707

Modified:
   trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java
Log:
report that we are loading the class in the correct place
report when a class is being skipped because it could not be loaded

Modified: trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java	2008-12-03 22:27:38 UTC (rev 9706)
+++ trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java	2008-12-04 00:19:01 UTC (rev 9707)
@@ -57,12 +57,16 @@
                ClassDeploymentHandler classDeploymentHandler = (ClassDeploymentHandler) deploymentHandler;
                if (hasAnnotations(getClassFile(), classDeploymentHandler.getMetadata().getClassAnnotatedWith()))
                {
-                  log.trace("adding class to deployable list " + name + " for deployment handler " + deploymentHandler.getName());
                   if (getClassDescriptor().getClazz() != null)
                   {
+                     log.trace("adding class to deployable list " + name + " for deployment handler " + deploymentHandler.getName());
                      classDeploymentHandler.getClasses().add(getClassDescriptor());
                      handled = true;
                   }
+                  else
+                  {
+                     log.info("skipping class " + name + " because it cannot be loaded (may reference a type which is not available on the classpath)");
+                  }
                }
             }
          }




More information about the seam-commits mailing list