[jboss-cvs] JBossAS SVN: r104998 - projects/jboss-jsf-int/trunk/jsf-deployer/src/main/java/org/jboss/jsf/deployer.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 19 16:09:52 EDT 2010
Author: stan.silvert at jboss.com
Date: 2010-05-19 16:09:52 -0400 (Wed, 19 May 2010)
New Revision: 104998
Modified:
projects/jboss-jsf-int/trunk/jsf-deployer/src/main/java/org/jboss/jsf/deployer/JSFUrlIntegrationDeployer.java
Log:
JBAS-6638 Add JSF libs to classpath of ancestor deployments
Modified: projects/jboss-jsf-int/trunk/jsf-deployer/src/main/java/org/jboss/jsf/deployer/JSFUrlIntegrationDeployer.java
===================================================================
--- projects/jboss-jsf-int/trunk/jsf-deployer/src/main/java/org/jboss/jsf/deployer/JSFUrlIntegrationDeployer.java 2010-05-19 17:42:38 UTC (rev 104997)
+++ projects/jboss-jsf-int/trunk/jsf-deployer/src/main/java/org/jboss/jsf/deployer/JSFUrlIntegrationDeployer.java 2010-05-19 20:09:52 UTC (rev 104998)
@@ -76,6 +76,13 @@
if (!jsfImpl.getImplName().equals(this.jsfImplName)) return;
super.deploy(unit, jsfImpl);
+
+ // Add JSF to any ancestor deployments
+ while (!unit.isTopLevel())
+ {
+ unit = unit.getParent();
+ super.deploy(unit, jsfImpl);
+ }
}
// If we got this far, we know that we need to return true
More information about the jboss-cvs-commits
mailing list