[jboss-cvs] JBossAS SVN: r108129 - trunk/weld-int/deployer/src/main/java/org/jboss/weld/integration/deployer/metadata.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 13 20:39:06 EDT 2010


Author: flavia.rainone at jboss.com
Date: 2010-09-13 20:39:06 -0400 (Mon, 13 Sep 2010)
New Revision: 108129

Modified:
   trunk/weld-int/deployer/src/main/java/org/jboss/weld/integration/deployer/metadata/WeldFilesDeployer.java
Log:
[JBAS-8250] Comment out WeldFilesDeployer.getClasspaths() implementation, because it is excluding jars referenced in the classpath entries of the manifest file.

Modified: trunk/weld-int/deployer/src/main/java/org/jboss/weld/integration/deployer/metadata/WeldFilesDeployer.java
===================================================================
--- trunk/weld-int/deployer/src/main/java/org/jboss/weld/integration/deployer/metadata/WeldFilesDeployer.java	2010-09-13 21:25:50 UTC (rev 108128)
+++ trunk/weld-int/deployer/src/main/java/org/jboss/weld/integration/deployer/metadata/WeldFilesDeployer.java	2010-09-14 00:39:06 UTC (rev 108129)
@@ -106,7 +106,7 @@
     */
    protected Iterable<VirtualFile> getClassPaths(VFSDeploymentUnit unit) throws Exception
    {
-      List<VirtualFile> classpath = unit.getClassPath();
+      /*List<VirtualFile> classpath = unit.getClassPath();
       if (classpath != null && classpath.isEmpty() == false)
       {
          List<VirtualFile> matching = new ArrayList<VirtualFile>();
@@ -122,6 +122,7 @@
          }
          return matching;
       }
-      return Collections.emptySet();
+      return Collections.emptySet();*/
+      return unit.getClassPath();
    }
 }
\ No newline at end of file



More information about the jboss-cvs-commits mailing list